Add a True/False Condition

You can add a True/False condition instead of configuring a condition for each path.

  1. Click below the Start node.

    The Add activity dialog box is displayed.

  2. On the Type list, select True/False Condition. (Default: Task)
  3. By default, Decision appears as the Title. You can modify the title for your condition as required.
  4. Right-click on the rule editor and define a rule using process and server variables.
  5. 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.

  6. To set the true path for the condition, in the Go To group, perform the following steps:
    1. On the Type list, select Task.
    2. In the Name field, a default name for the activity appears. You can modify the name as needed.
    3. Optional. Enter a Description for the node, such as "When cost is > 500".
  7. To set the false path for the condition, in the Else Go To group, perform the following steps:
    1. On the Type list, select Task.
    2. In the Name field, a default name for the activity appears. You can modify the name as needed.
    3. Optional. Enter a Description for the node, such as "When cost is < 500".
  8. Click Add.