About AA2019 try catch

Badge +7

Hi team

when error happened in try, how can i messagebox error line number and error desc

in catch ? what variable should i use? i can not find it in system variables

2 replies

Userlevel 3
Badge +6

Catch action has fields to capture error line number and error message which can be assigned to variables.

Assign to your user defined variables, there's no system variable.

Userlevel 6
Badge +15

Hi @wang huadong​ ,


Below are links help you to find the all the answers to your questions,


Learning to Use the Error Handler Package | A2019

Error handler package - Automation Anywhere Documentation

How to Use Error Handling in Enterprise A2019 - YouTube

Try, catch, Finally & Throw actions overview-Error - YouTube

Error Handling in Automation Anywhere - RPA Quick Tips