Question

AA 360 Error Handling Questions

  • 23 February 2022
  • 1 reply
  • 12 views

In 11.3 you could disable the error handling for a block of code. Is this possible in 360? When I try it disables the entire block, and deleting the Error Handler line also deletes the whole block.

 

Are there any more variables available for Error Handling once it triggers? In 11.3 you had the Error Line Number available, but I only see "Error Message" in 360. Is this information available in 360?


1 reply

Userlevel 3
Badge +7

Hi @Ian Smith​ ,

 

There are two Error Handling variables in A360:

  • Error Message
  • Error Line Number

Both are accessed in the Catch Action.

 

In addition to this, you also have the option of recording business exceptions using the Error Handler: Throw Action.

 

The Throw is especially useful when for example, you log in using credentials which expire every 45 days, and when you pass in the expired credentials, the system throws an "invalid credentials" message which the bot can detect(provided you use an If Object Exists and nest a Throw inside it.)

 

Here is a tutorial on Error Handling, I hope you find it resourceful.

 

Kind Regards,

Ashwin A.K

Reply