UiPath-ADAv1 Control Flow Practice Question
A developer processes a DataTable of expense records inside a For Each Row activity. For each row, the workflow must check the 'Amount' column, and when the amount exceeds the configured limit, it should immediately stop processing any further rows and continue with the activities that follow the loop. Which activity should be placed inside the loop body to achieve this?
⚠ Common exam trap
Many exam-takers confuse Break with Continue, since both alter loop execution, but only Break exits the loop while Continue merely advances to the next iteration.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Break
Break exits the innermost enclosing loop at once and resumes execution at the first activity after that loop. In a For Each Row over expense records, placing Break inside the amount check halts iteration on the first over-limit row while allowing the workflow to proceed normally afterward. Continue, Throw, and Terminate Workflow either keep looping, fault the process, or end the whole automation, so none matches the requirement.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Break
Why this is correct
Break terminates the innermost loop immediately and transfers control to the activity that follows the loop. Placing it inside the conditional block for amounts above the limit stops the For Each Row on the offending record, so no later rows are processed. This matches the requirement to halt iteration and proceed with the post-loop activities in the same Sequence.
- ✗
Throw
Why it's wrong here
Throw raises an exception that propagates up the workflow and, unless caught by a Try Catch, terminates the process with a faulted state. The scenario wants normal continuation with the activities after the loop, not an error path. Throw could stop the loop, but it changes the process outcome and requires additional exception handling that the requirement does not mention.
- ✗
Terminate Workflow
Why it's wrong here
Terminate Workflow ends the entire automation immediately, including any activities that follow the loop. That directly contradicts the requirement to continue with post-loop processing. Terminate Workflow is intended for unrecoverable conditions such as fatal configuration errors, not for a business rule that simply means stop iterating and move on.
- ✗
Continue
Why it's wrong here
Continue skips the remainder of the current iteration and moves to the next row, so the loop keeps running. The scenario requires processing to stop entirely once an over-limit amount is found, not to carry on with subsequent records. Continue would silently ignore the violation and process every remaining row, which is the opposite of the desired behavior.
About these practice questions
This UiPath-ADAv1 question is part of Courseiva's 285-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed September 2026 · checked against the official UiPath exam blueprint
This UiPath-ADAv1 practice question is part of Courseiva's free UiPath certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the UiPath-ADAv1 exam.