Table of Contents

Changing the decision logic in a flow


Only available versions of this content are shown in the dropdown

You can change the way that you implement a decision in a process. By using a rule instead of a series of when conditions to define your decision logic, you can create cases that support complex decisions and are easier to maintain.

  1. In the navigation pane of App Studio, click Case types, and then click the case type that you want to open.

  2. On the Workflow tab, click Life cycle.

  3. Click a process that contains a Decision step, and then click Open process.

  4. On the Diagram tab of the Flow form, double-click the Decision shape to open the property panel.

  5. In the Type list, select a type of decision logic.

    For more information about the supported types, see Types of decision logic.

  6. Associate your decision logic with the Decision shape.

    • For decision logic that you define in a decision table, decision tree, map value, predictive model, or scorecard:

      1. In the Rule field, press the Down Arrow key and select the rule that defines your decision logic.

      2. Provide input values, based on the type of rule that you select.

        • Input - Passes text or a property reference to a decision tree.

        • Row input - Passes text or a property reference to a row in a map value rule.

        • Column input - Passes text or a property reference to a column in a two-dimensional map value rule.

      3. In the Result in field, enter the name of a property that stores the result of the decision.

    • For decision logic that you define in a Boolean expression:

      1. In the Expression field, enter a Boolean expression that defines your decision logic.

      2. Optional:

        To access helpful tips and built-in functions for your expression, click the Build an expression icon.

    • For decision in a fork. Percentage — Follows the connector for a specific percentage of flow runs.

      For example, you can ensure that 20 percent of mortgage applications take a different path in the flow for auditing purposes.

      This option is available only when you connect a Decision shape that is set to type Fork .

  7. Click Submit to close the property panel.

  8. Click Save.

Did you find this content helpful?

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.