UiPath Advanced RPA Developer (UiARD) — Question 101
A developer created a project that contains a flowchart. The developer received a change request from the business as follows:
1. If the Invoice Number contains special characters, the robot must remove them and then continue the process.
2. If the Invoice Number contains only digits, do not change anything, keep the existing logic.
In order to add the new requirement, which activity should the developer use in the flowchart based on UiPath best practices?
Answer options
- A. Flow Decision
- B. Else If
- C. Flow Switch
- D. lf
Correct answer: A
Explanation
The correct answer is A, Flow Decision, because it allows the developer to evaluate the condition of the Invoice Number and direct the flow accordingly based on whether it contains special characters or only digits. The other options, such as Else If and Flow Switch, are not ideal for this binary decision-making process where two distinct paths are required based on a single condition.