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.

  • Trojan Error for Compiled Scripts

    Support
    0 Votes
    5 Posts
    1072 Views
  • 0 Votes
    3 Posts
    637 Views
  • Help about ignoring errors

    Support
    0 Votes
    12 Posts
    1865 Views
  • 0 Votes
    8 Posts
    1456 Views
  • Format a number to needed format

    Support
    0 Votes
    2 Posts
    498 Views