![]() |
| |||||||
Automation Anywhere Post messages and questions related to Automation Software here. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
| Hi, I have a string of tasks that executes sequentially. However, if one the tasks hits an error, the AA will pop-up a window and wait for the operator to respond. How do I get around this issue? I want to be able to log this error when it happens and have the sequence continue with the next task. The bottom line is I want to take the operator out of the loop when an unexpected error occur but at the same time wanting the sequence to continue to completion. Any suggestion is greatly appreciated. |
| |||
| Hello, Automation Anywhere 5.0 provides you with Error Handling command. You can use this command to handle errors when your task is running. You can either continue the task after the block in which the error occurred or stop the task. The following actions can be taken when an error occurs: . A snap shot of the screen can be taken . You can specify to run another task . 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$. . An email can be sent when the error occurs optionally with the snap shot of the screen attached. All of the above 4 options can be performed together or in any combination as well. For example you can Run a task and Log data into a file. You can find 'Error Handling' command under 'Advanced' command category. Text format of commands would appear as follows, 1) Begin Error Handling; Action: Continue; Options: Log to File 2) Run Task "C:\Documents and Settings\..\My Documents\Automation Anywhere\Automation Anywhere\My Tasks\1.atmn" @Repeat : Do Not Repeat @Speed : Normal Speed 3) Run Task "C:\Documents and Settings\..\My Documents\Automation Anywhere\Automation Anywhere\My Tasks\2.atmn" @Repeat : Do Not Repeat @Speed : Normal Speed 4) End Error Handling Hope that helps. |
| |||
| I am not getting this "Advanced" command Category. the command categroies available are Keystroke/Mouse Program/ Files/windows Conditions/loops Pause/delays/waits internet tasks/scripts applications interactive Misc. system am using AA 5.0 preimere. |