UiPath-ADAv1 Control Flow Practice Question
A developer is using a Switch activity to route a workflow based on a 'Status' string variable. If the variable contains 'In Progress' but no case is defined for this value, what is the expected behavior of the activity?
⚠ Common exam trap
Many candidates mistakenly believe a Switch activity will throw an unhandled runtime error if a matching case is missing, overlooking the built-in fallback behavior of the Default case.
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
✓
The workflow will execute the activities defined within the Default case.
The Switch activity evaluates the expression and executes the activities within the matching case. When no match is found between the expression result and the predefined cases, the workflow executes the activities located in the Default section. This ensures that the automation handles unexpected input gracefully without failing, which is critical for maintaining robust and predictable control flow in production environments.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
The workflow will throw a Runtime Execution Error indicating no case match.
Why it's wrong here
UiPath activities are designed with error handling defaults that prevent immediate termination upon missing matches in control structures. The Switch activity specifically provides a Default branch to handle any values that fall outside the specified logic. Throwing an error would only occur if the expression itself failed to evaluate or if null values were incorrectly handled.
- ✗
The activity will be skipped entirely and move to the next activity in the sequence.
Why it's wrong here
Skipping the activity only happens if the logic is wrapped in a conditional structure that evaluates to false. Within the Switch activity itself, the execution flow is strictly defined to either follow a matching case or follow the Default path. Moving directly to the next activity without executing the Default block violates the standard logic of the Switch component.
- ✓
The workflow will execute the activities defined within the Default case.
Why this is correct
The Default case acts as a catch-all mechanism for any input that does not satisfy the conditions of the specific cases defined by the developer. By placing logic here, developers can ensure that even unhandled strings like 'In Progress' result in a controlled action, such as logging a warning or setting a fallback status before the process continues.
- ✗
The Switch activity will pause and wait for manual user intervention to select a path.
Why it's wrong here
Unattended robots are designed to operate without human interaction, so pausing for manual input is not a standard feature of the Switch activity. While specific activities like 'Input Dialog' can stop execution for user input, the Switch activity is purely logical and relies on predefined programmatic cases to determine the next steps in the automation flow.
About these practice questions
Courseiva writes every UiPath-ADAv1 question from scratch — 285 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or 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.