Scenario:
The bot started processing and it tries to copy data from a workbook per row. Error encountered because of the element where the value is being entered is not present.
What is the best approach in handling in case an error is encountered?
How do you stop the process on that row where the error occurs and proceed to the next row without interrupting the rest of the row.
How can we trigger an alert notification before it continues to the next row?
If you can also share the best practices in handling errors.
As for error handing, I strongly recommend that you try to use REFrameWork to build your processes which need best practice within error handing.
If you have never used that before, the below lesson will be helpful for you.
Fine
—if the type into is placed within a FOR EACH ROW loop
Don’t place the whole for each row itself inside the TRY CATCH activity
Rather place the Type into activity alone inside the TRY block of TRY CATCH activity
So that if type into activity fails due to the element doesn’t exist it will be caught by catch block
Where we can use either a LOG MESSAGE activity to log it or use SEND OUTLOOK or any mail activity to send that as a notification
So the workflow structure be like this
For each row
———-Inside the loop
-try Block
Type into activity
Catch block
Mail or log message activity