About this exam
This is the exam for the UiPath Certified Professional Automation Developer Professional (UiPath-ADPv1) certification, aimed at RPA developers with hands-on experience. It covers UI automation and selectors in UiPath Studio, data handling, designing transactional processes with the REFramework, exception handling, debugging and logging, Orchestrator integration and testing: the skills needed to build production-ready automations.
Try a sample question
This is an original sample question written by itmoshi based on the exam objectives.
You are building an invoice entry process with the REFramework. Each transaction is a row of a DataTable read from Excel, and MaxRetryNumber in Config is 2. In Process.xaml you find an invoice with no amount. That data will never succeed no matter how many times you retry, so you want to log this row as failed without retrying and move on to the next row. Other errors, such as slow screen responses, should still be retried as before. What should you do in Process.xaml?
- AThrow New System.Exception("Amount missing") with a Throw activity
- BChange MaxRetryNumber in Config to 0
- CEnd Process.xaml with Terminate Workflow (System.Exception specified)
- DThrow New BusinessRuleException("Amount missing") with a Throw activity
Show answer and explanation
Answer:D A failure caused by the data, where retrying is pointless, should be thrown as a BusinessRuleException (business exception).
Why it is correct
The REFramework treats exceptions from Process differently by type. A BusinessRuleException is a business exception: the transaction is logged as failed, but it is not retried and the applications are not restarted, and the robot moves on to the next transaction. Any other exception is a system exception: the applications are closed and reopened and the transaction is retried up to MaxRetryNumber times, so the requirement that other errors are still retried is kept as is.
The other options
- ✗ A System.Exception takes the system-exception path, so the applications are restarted and the row can be retried up to twice with the same bad data (subject to the MaxConsecutiveSystemExceptions limit, which can stop the run earlier). That breaks the requirement. This handling suits errors that may succeed on retry, such as a temporary UI glitch.
- ✗ B MaxRetryNumber controls retries for system exceptions, so setting it to 0 would stop retries for other errors too, breaking the requirement. It is the setting to use when you want to turn off the framework's own retries, for example when relying on queue auto-retry.
- ✗ C Terminate Workflow requests termination of the running workflow. It does not send the row down the BusinessRuleException path that records the failure and moves on to the next row, so it does not meet the requirement. Use it when you want to stop the workflow's execution itself.
Key takeaway
Data or rule problem, same result on retry → BusinessRuleException (no retry). Temporary technical problem that may succeed on retry → system exception (restart and retry).
Try 20 questions like this for free
itmoshi is an unofficial study service and is not affiliated with UiPath or any exam provider.