Back to Browse

UiPath Global Exception Handler | Global Handler Use case

272 views
Aug 23, 2023
17:25

Global Exception Handler: Is a type of workflow designed to determine the project's behavior when encountering an execution error. Only one Global Exception Handler can be set per automation project. GEH has two arguments, that should not be removed. 1. errorInfo -- In argument stores the information about the error 2. result -- Out argument direction used for determining the next behavior of the process when it encounters an error. The following values can be assigned. Continue - The exception is re-thrown. Ignore - The exception is ignored, and the execution continues from the next activity. Retry - The activity which threw the exception is retried. RetryCount method for errorInfo to count the number of times the activity is retried. Abort - The execution stops after running the current Global Exception Handler To control the workflow’s behavior in case of an error, the Global Exception Handler retries the activity three times and then aborts with an error message.

Download

0 formats

No download links available.

UiPath Global Exception Handler | Global Handler Use case | NatokHD