In process automation, you can use exclusive and inclusive conditional statements.

If/Else if/Else

The If/Else If/Else structure represents an exclusive condition, meaning only one condition is executed during a single run. When you use this structure, the system evaluates each condition sequentially:
  1. The If condition is evaluated first.

    If it is true, the corresponding task executes, and all remaining conditions are skipped.

  2. If the If condition is false, the system evaluates the Else If condition (if present in the workflow).
  3. If none of the preceding conditions are true, the Else block executes.
Example
You want to display a message to a customer based on their order status in an online shopping workflow:
Order status Displayed message
Shipped Your order is on the way.
Processing Your order is being prepared.
Any other status Your order status is unknown. Please contact support team.
In this example:
  • Only one message is displayed per execution.
  • If the status is Shipped, only the first message appears, and all other conditions are skipped.
  • If the status is Processing, only the second message appears.
  • If neither applies, the Else message is shown.
Summary:

The If/Else If/Else construct ensures exclusive execution, meaning only one logical path runs at a time.