Add a True/false condition

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

Procedure

  1. On the Workflow tab, select below the Start node or any other 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, select Validate.

    A message appears if the rule expression is not valid. Select OK to close the message, correct the expression, and validate again.

  6. To set the true path for the condition, select either option:
    New Activity

    Use this option to create a new activity. 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."

    Existing Activity

    Use this option to select an existing activity. In the Go To group, on the Activity list, select the node you need.

  7. To set the true path for the condition, select either option:
    New Activity

    Use this option to create a new activity. 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."

    Existing Activity

    Use this option to select an existing activity. In the Go To group, on the Activity list, select the node you need.

  8. Select Add.