The If activity in UiPath is a control flow activity that evaluates a Boolean condition and determines the execution path accordingly:
If the condition evaluates to True, the workflow executes the Then branch.
If the condition evaluates to False, the workflow executes the Else branch.
Only one of the two branches is executed, depending on the condition.
Why the other options are incorrect?
❌ B: The If activity does not have a "priority-based execution"; it simply follows the condition’s result.
❌ C: A multi-condition evaluation requires a Switch or Flow Decision activity, not an If activity.
❌ D: If does not execute both branches; only one branch is executed at a time.
✅ Reference:
UiPath Official Documentation: Control Flow - If Activity
UiPath Academy: Building Workflows - Conditional Statements
Contribute your Thoughts:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit