Add a condition

You can add the conditions directly specifying the condition and the activity it should go to; Quick Workflow automatically draws the workflow for you.

  1. Click below the RPA node or any other node.

    By default, a Start node and an RPA node are added in the Designer area.

    The Add activity dialog box is displayed.

  2. By default, the Condition appears as the Title. You can modify the name for your condition as required.
  3. To add a condition, click for Conditions.

    The New condition dialog box is displayed.

  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 to close the message, correct the expression and validate.

  6. To set the path for the condition, select either option:
    • New Activity: Use this option if you need 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. Click Add.

    The node name appears on the Go To column and the node description appears on the Description column in the Add activity dialog box.

  8. Click Add.

    The configured properties and paths appear in the properties panel. To update the path, double-click the path on the Go To column, or select the path and click on the header. The node name appears in read-only mode. Update the rule in the rule editor box and click Update.

    To delete a path, select the path and click in the Condition properties panel. Alternatively, click Delete icon on the connector. Quick Workflow: Delete condition path

  9. Similarly, add other nodes as needed to the Condition node by defining the path. You can add a path directly from the properties panel, in which case, the node is automatically added to the condition as a task.

    By default, the first node is set as a default path. The paths are determined by conditions and if none of the conditions are met, the default path is taken. Quick Workflow supports OR branching, which means, it allows one or more, or all the outgoing paths to be taken.

    When you open a workflow in TotalAgility Designer, and view the condition node properties, "Use exclusive OR(XOR)" property is set to false. Refer to "Branching Rules" in the TotalAgility Designer Help for more information.