Skip to main content

Exclusive Decision

The "if statement".

Ossi Galkin avatar
Written by Ossi Galkin
Updated over a year ago

An Exclusive Decision is a Conditional gateway element 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 run time. 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.

The default branch, taken when the expression evaluates to false, is marked with a diagonal line.

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.

Did this answer your question?