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
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
If Conditional

  1. Click connect tool.
  2. The Properties tab is displayed to the right of the screen.
  3. Enter the condition information.
  4. Enter the condition name in the Name field
  5. Select Expression from the Condition Type drop-down menu
  6. Enter the conditional into the Expression field.
-If Conditional
-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 definition

If Conditional
If Conditional