Adding a decision to a flow
You can add a conditional path to a flow by using the Decision shape. By defining the events that cause your flow to follow different paths, you can create cases that support more than one outcome.
For advanced decisions that you cannot define in when conditions, configure the Decision shape to use a different type of logic, such as a Boolean expression or decision tree.