Adding a conditional path to an assignment
You can use a connector to add a conditional path to an assignment. By defining the events that cause your flow to follow different paths, you can create cases that support more than one outcome. Your application assigns a task, or flow action, to a user only when it cannot find a connector on the Assignment shape with conditions that return a true value.
- Open a flow by searching for it or by using the Application Explorer. For more information, see Finding rules by class.
- Configure the current connector.
- On the Diagram tab, double-click the connector that leads from the assignment to the next shape in the flow.
- In the Likelihood field, enter an integer between 1 and 100 to control which connector the flow follows when there are no conditions that return a true value.
- Click Submit.
- Define a new path in the flow by creating a sequence of shapes and connecting it to the assignment. For more information about the different shapes that you can use, see Flow shapes.
- Configure the new connector.
- Double-click the connector that leads from the assignment to the new path.
- In the Flow action field, press the Down Arrow key and select a flow action that users process when the flow follows this connector because there are no conditions that return a true value.
- In the Likelihood field, enter an integer between 1 and 100 to control which connector the flow follows when there are no conditions that return a true value.
- Click Submit.
- Define the conditions that cause the flow to follow the new path when it reaches the Assignment shape.
- Double-click the assignment to open the Assignment properties dialog box.
- In the Advanced section, click Assignment details , and then select the Allow auto-process check box.
- Click + Add auto-process condition.
- In the Perform action field, press the Down Arrow key and select the name of a flow action for the new connector.
- In the When field, press the Down Arrow key and select a when condition that controls whether the flow follows the new connector. At run time, when conditions are evaluated based on the list order that you provide.
- Click Submit.
- Click Save.
Previous topic Adding a conditional path to a flow Next topic Adding a results-based path to a flow