Add a true/false condition
You can add a True/False condition instead of configuring a condition for each path.
-
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.
- On the Type list, select True/False Condition. (Default: Task)
- By default, the 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 to close the message, correct the expression, and validate.
-
To set the true 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:
-
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".
-
-
Existing Activity: Use this option to select an existing activity. In the Go To group, on the Activity list, select the node you need.
-
- Similarly, set the false path for the condition.
- Click Add.