Reference Guide
...
Privileged Task Automation Man...
Creating a Workflow
If Conditional
If desired, the if condition can be used by making a comparison of the value of the output with the ExclusiveGateway statement.
If Conditional

For example, a workflow has been created in the figure below. There is a CLI Task in the first step with its output parameter. In the second step, the condition is executed according to the result of the output parameter.
If Conditional

- Click connect tool.
- The Properties tab is displayed to the right of the screen.
- Enter the condition information.
- Enter the condition name in the Name field
- Select Expression from the Condition Type drop-down menu
- Enter the conditional into the Expression field.
-If Conditional

The Expression field type must be in JavaScript. the hostname is the output parameter of the previous step.
If Conditional definition

If Conditional