Adding a conditional path to a process
You can use a connector to add a conditional path to a process. By defining the events that cause your process to follow different paths, you can create cases that support more than one outcome.
- Open a process by searching for it or by using the Application Explorer. For more information, see Finding rules by class.
- Define a new path by connecting a sequence of shapes to an existing shape in the process. For more information about the different shapes that you can use, see Flow shapes.
- Configure the conditions that cause the process to follow the new path.
- Double-click the connector that goes from the existing shape in the process to the first shape in the new path.
- In the Condition type list, select When.
- In the When field, enter a when condition that your application evaluates at run time.
- In the Likelihood field, enter a number between 1 and 100 to control the order in which your application evaluates the connector at run time.
- Click Submit.
- Review the configuration of all other paths, or connectors, from the shape to ensure that
it supports the following best practices:
- There is only one Else connector, so that the flow can continue when no conditions return a true value.
- There are no Always connectors, which are applicable only when there is a single path from one shape to another.
- Each connector provides a unique Likelihood value.
- Click Save.
Previous topic Changing the decision logic in a process Next topic Adding a conditional path to an assignment