Hello,
You can make use of 'If Task Unsuccessful' command that is used to monitor the task execution process. With this command, you can integrate other Automation Anywhere task. This command will run the Automation Anywhere task and depending on return code decide if it was successful or not. If the task is unsuccessful then using 'Log to file' command you can log it in a text file.
Alternatively, Automation Anywhere 5.0 supports 'Error Handling' command. Using which you can log whatever data you want into a file. For example you can log the Error Line No. and Description for which you can use the system variable $Error Line Number$ and $Error Description$.
Hope that helps.
|