Uipath Certified RPA Associate Uirpa · Free Practice Question Medium
Question 23
Which of the following can be used to ensure an execution continues even if an activity fails?
-
A
The TimeoutMS property
-
B
The Try/Catch activity
-
C
The Throw activity
-
D
The DelayAfter property
Reveal correct answer
Correct answer: B
Explanation
It is common for automation projects to encounter events that interrupt of interfere with the projected execution. Some of the these are identified in the development and testing phases, and handling mechanisms are implemented.
Consider an automation where the input data comes from a web form, and the application tries to match the data with the list of existing clients using the last name. But what if the user makes a mistake when spelling the name? Naturally, the name won't be recognized.
A good project design will include ways of recognizing and identifying the exception, and also patterns of action that are executed only when exceptions are caught. These can be simply stopping the execution, or explicit actions executed automatically within the workflow, or even escalating the issue to a human operator.
Predicting and treating exceptions can be done in two ways:
• At activity level, using Try/Catch blocks or Retry Scope;
https://activities.uipath.com/docs/try-catch
• At a global level, using the Global Exception Handler.
Discussion
Think the marked answer is wrong, or have a better explanation? Share it below — comments appear after review.
