If/Else Activity
The If/Else activity changes execution of the workflow to one of multiple exit branches based on the resolution of a condition.
An If/Else branch can have multiple exit branches, each of which has a condition. Conditions on multiple exit flows are calculated from left to right. The flow executes on the first exit branch whose condition evaluates to True. There are no conditions on the last branch of the activity, as it is automatically set to True.
If/Else Branch
The If/Else branch contains one or more sequences as branches. Each branch has a condition that is evaluated to a boolean result. If the condition evaluates to True, the sequence for that branch is queued as the next activity for the workflow instance to execute. Conditions are evaluated from left to right, and the first sequence with a condition evaluating to True is executed. If no condition is specified, the branch serves as an Else and always executes.