2014-10-09 09:30 AM
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
3 REPLIES 3
Re: WFA: Skip a command if a variable is null?
2014-10-09 12:57 PM
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?
2014-10-09 01:04 PM
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