Actually i need that before too.
On before i have a service task and it should take all inputs in another variable like first example ({ “c”: { “a”: 1, “b”: 2 } })
Yesterday, i tried is_defined method for check a variable exists. But it explodes when not exists.
Expression:
if is defined(test) then test else “test”
My variables:
{
“test_2”: “test_2”
}
I think maybe i should write the expression like:
if is defined(this.test) then this.test else “test”