Reference Guide
...
Privileged Task Automation Man...
Creating a Workflow
If Conditional
2min
If desired, the if condition can be used by making a comparison of the value of the output with the ExclusiveGateway statement.
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.
The Expression field type must be in JavaScript. hostname is the output parameter of the previous step.