Articles → UiPath → Global Handler In Uipath
Global Handler In Uipath
Purpose
How Many Global Handler Files Can Be Added In The Single Project?
How To Add The Global Handler File?
Click to Enlarge
Different Activities Inside The Global Handler
- LogError
Click to Enlarge
- Choose Next Behavior - Here, we can specify the number of retry whenever error occurs. The "result" argument specifies the behavior of the process when an error occurs
Click to Enlarge
Example
- Add a message box activity inside the global handler and display the value of the "result" argument
Click to Enlarge
- Execute the "Open Application" activity with the invalid application name. The purpose of writing the invalid application name is to trigger an exception
Click to Enlarge
Output
Click to Enlarge