Adding a conditional path to an assignment
Version:
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.
- Changing the path of a process
You can change the path of a process, or flow, to support out-of-sequence events. By adding different structures to your flow, such as loops and branches, you can improve the flexibility of the cases that you create.
- Collecting information from a user
Gather the information that your business process requires by creating an assignment to collect that data from users. For example, a customer service representative can enter personal details and income information from a client during the loan request process.
- Assignment shapes in flows
Assignment shapes represent tasks that users complete in a flow. To ensure that your business process meets all your unique requirements, you can add an assignment shape for each place in the business process that requires human judgment and input.