Add a True/False Condition
You can add a True/False condition instead of configuring a condition for each path.
-
Click
below the Start node.
The Add activity dialog box is displayed.
- On the Type list, select True/False Condition. (Default: Task)
- By default, Decision appears as the Title. You can modify the title for your condition as required.
- Right-click on the rule editor and define a rule using process and server variables.
-
To validate the expression, click
Validate.
If the rule expression is not valid, a message appears stating the rule is invalid. Click OK in error message, correct the expression and validate.
-
To set the true path for the condition, in the
Go To group, perform the following steps:
- On the Type list, select Task.
- In the Name field, a default name for the activity appears. You can modify the name as needed.
- Optional. Enter a Description for the node, such as "When cost is > 500".
-
To set the false path for the condition, in the
Else Go To group, perform the following steps:
- On the Type list, select Task.
- In the Name field, a default name for the activity appears. You can modify the name as needed.
- Optional. Enter a Description for the node, such as "When cost is < 500".
- Click Add.