Is it possible to check if a variable is available in JUEL expressions?
I tried empty myVar, but this also fails if the variable is not declared in the scope (I guess there is a difference between a variable explicitly set to null and one not declared at all).
I stumbled upon this having a boolean output variable that is not set under some conditions. When I use this output as required input for another decision, it fails.
Is there a way to check this with JUEL? Or alternatively with groovy/JS?
you can use the javascript text using ‘empty’ in the input expression and in the input values you can use boolean checks to evaluate the given condition.