You are here: Case management > Process modeling > Flows > Making a decision in a flow

Making a decision in a flow

You can use the Decision shape to branch a flow based on information in a case. By modeling decisions in your application, you can implement dynamic business requirements.

For example, a Credit Application case can assign an approval task to a manager or send a rejection email to a customer, based on the requested credit amount or credit score.

To make a decision in a flow:

  1. Add the Decision shape to your flow.

  2. Double-click the Decision shape to open the property panel.

  3. In the Type list, select an option based on the type of rule that the Decision shape evaluates at run time.

  4. In the Rule field, press the Down Arrow key and select the name of the rule that defines the logic to make a decision.

    This field is not available for decisions that are based on Boolean Expressions.

    For more information about expressions, see Building expressions with the Expression Builder.

  5. Optional: To pass information to the rule that makes a decision, use input values.

  6. Optional: To control which property stores the result of the decision, enter a property name in the Result in field.

  7. Click Submit to close the property panel.

  8. Click Save.

You can test the Decision shape by connecting it to other shapes and running your flow.