LinkedIn
Copied!

Table of Contents

Adding a conditional path to an assignment

Version:

Only available versions of this content are shown in the dropdown

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.

  1. Open a flow by searching for it or by using the Application Explorer. For more information, see Finding rules by class.

  2. Configure the current connector.

    1. On the Diagram tab, double-click the connector that leads from the assignment to the next shape in the flow.

    2. 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.

    3. Click Submit.

  3. 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.

  4. Configure the new connector.

    1. Double-click the connector that leads from the assignment to the new path.

    2. 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.

    3. 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.

    4. Click Submit.

  5. Define the conditions that cause the flow to follow the new path when it reaches the Assignment shape.

    1. Double-click the assignment to open the Assignment properties dialog box.

    2. In the Advanced section, click Assignment details , and then select the Allow auto-process check box.

    3. Click + Add auto-process condition.

    4. In the Perform action field, press the Down Arrow key and select the name of a flow action for the new connector.

    5. 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.

  6. Click Submit.

  7. Click Save.

Have a question? Get answers now.

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