Add conditions in process automation
- Updated: 2025/12/01
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:
- The If condition is evaluated first.
If it is true, the corresponding task executes, and all remaining conditions are skipped.
- If the If condition is false, the system evaluates the Else If condition (if present in the workflow).
- 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.