Exclusive Decision
An Exclusive Decision is a Conditional gateway Element, and is used to choose between two exclusive execution paths. The Exclusive Decision Element contains a conditional expression that returns a Boolean value and will be evaluated at runtime. If the expression evaluates to true, then the conditional branch is taken, otherwise the default branch is taken.
It's possible to join the two branches of an Exclusive Decision Element. It's also possible for each branch to end in their own return Element.
Default branch
The default branch, taken when the expression evaluates to false, is marked with a diagonal line.
Conditional branch
The conditional branch is taken only when the expression evaluates to true.
Multiple Exclusive Decisions can be stacked to provide more than two exclusive execution paths
Empty condition branches can be useful for conditional compensation flows.
Example of usage
The Process starts and if something expression evaluates as true, the Process executes the conditional branch named yes and moves on to executing the Task do this. And logically, if the if something expression turns out to be false, the Process executes the default branch named no and proceeds to executing the do that Task.
The next article is Introduction to Inclusive Decision