Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Adding a conditional path to an assignment

Updated on May 11, 2022

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 process 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 Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us