Google News
logo
UiPath - Interview Questions
What do you mean by Exception Handling and what are the main options in Exception Handling in UiPath?
The practice of dealing with or addressing problems observed in various UiPath tasks is known as exception handling.
 
The following are the main options for managing exceptions :
 
Rethrow : When we wish to conduct actions before an exception is thrown, we use rethrow.

Terminate Workflow :
It is used when a job finds an issue and we want to stop the entire workflow from running.

Throw :
When we wish to throw an error before performing any action, we use this method.

Try Catch :
It is mostly used to deal with exceptions. The try block contains a list of activities that may fail during execution. Furthermore, the tasks to be performed once an exception occurs are contained within the catch block.
Advertisement