Active IQ Unified Manager Discussions
Active IQ Unified Manager Discussions
In the advanced tab on a command is there a way to skip the command if a Variable is Null/blank/empty?
There really is not that many examples of how to use these and the expression syntax....
if the following variable was found
if the following variable was found Not found
if the following expressing is true
Solved! See The Solution
Then you can try ..
In the advanced tab of the command you can choose Execute this command if the following expression is true :
$your_null_variable_to_check != null
In the advanced tab of the command you can choose Execute this command if the following expression is true :
$your_null_variable_to_check == ""
Actually, I want the oppposit to be "true".
if the variable is NOT null I want the command to run, if its null i DON'T want it to run.
I ran the workflow with what you you gave me (with the variable empty) and displayed the variable in the "green box" during the run and it displayed "NA". so it will run...
if I place a value on the variable it does not run.
so the question still remains....can a skip a command if a variable is null?
Then you can try ..
In the advanced tab of the command you can choose Execute this command if the following expression is true :
$your_null_variable_to_check != null