Cancellation of the Phone Number Obtained in the Event of Any Error

Support
  • The function takes a phone number at the beginning and continues with the script. Once it is successfully completed, it completes the phone number, but how can I ensure that the phone number is cancelled if there is an error within the function?

    For example, if there is an error such as ‘CSS not found’ or ‘Element not found,’ and the thread fails as a result, I want the number to be cancelled.

    Is this possible in BAS?

  • @docker0004 if sms not arrived, then it will be cancelled by itself with timeout on serverside
    you can do one big try catch with all your actions, and if was error then cancel number(if variable with number != undefined )

  • @clarabellerising

    Yes, I am already using try catch, but I still wanted to ask about this. I thought there was a specific action for this in BAS, such as OnApplicationExit, just like ‘OnApplicationStart’.

    Thank you for your advice.

  • 0 Votes
    7 Posts
    845 Views
  • 0 Votes
    3 Posts
    860 Views
  • 0 Votes
    2 Posts
    674 Views
  • 0 Votes
    1 Posts
    842 Views
  • Element with numbers

    Support
    0 Votes
    3 Posts
    1406 Views