You can define the conditions under which an assignment follows a particular path at run time. By using multiple connectors to capture different business scenarios, you can create flexible assignments.
For each unique path that the assignment can take, hover over the assignment and drag a new connector to another shape in the flow diagram.
Repeat the following steps for each connector that you create:
Double-click the connector to open the Connector properties dialog box.
In the Flow action field, press the Down Arrow key and select a flow action that displays fields to users at run time.
In the Likelihood field, enter an integer between 1 and 100 that represents the probability of the flow action.
The greater the integer, the more likely it is that the assignment follows the path of this flow action.
Click Submit.
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.
Repeat the following steps for each path that the assignment can take:
Click + Add auto-process condition.
In the Perform action field, press the Down Arrow key and select the name of a flow action.
This list is populated with the flow actions that you provide in step 3.
In the When field, press the Down Arrow key and select a when condition that controls whether the flow action runs.
At run time, when conditions are evaluated based on the list order that you provide.
Optional: Open the flow action and define a post-processing activity or data transform that runs when the flow action is completed.
Click Submit.
Click Save.
At run time, the assignment follows the first connector that meets the when condition that you define. No flow action is displayed to the user.
If no when condition returns a true value, the assignment follows the connector with the highest likelihood value and displays the corresponding flow action to the user.