- Login / Sign up
Error and Exception handling is one of the critical aspects of bot development which makes workflow more robust and prevents potential failures of bot execution. This session will be more on how to handle such errors and exceptions in the UiPath workflow.
1. Introduction on Error and Exception Handling in UiPath
2. Common Exceptions that occur
3. UiPath Activities to handle exceptions
4. The Global Exception Handler
Will get to know how to anticipate, detect and handle exceptions in the processes built with UiPath.
Assignment Day 6:
1.Your task is to automate the calculation of the SUM of two fields in an Excel file (Cash In and Cash Out) and input it in the third column. Unfortunately, the file has accumulated a lot of errors over time.
2.A simple workflow will throw System.Exception because the robot will try to perform math calculations with Int32 variables that contain letters.
3.Create a workflow that takes as input the excel file and adds the value of Cash In value and Cash Out value for each row on the Sum column. If the calculation of the Sum of them is successful, set the Status to Success, otherwise set it to either Cash In wrong or Cash Out wrong.
4.Use Try Catch blocks to catch exceptions when trying to convert Cash In and Cash Out values.
5.Include a Global Exception Handler so that if any other application or system exception occurs it can be handled with this exception handler.
Advanced Business Analyst
Marketing Community Manager APAC