Filling all variables into a property

Modeler version: 5.4.1
Camunda diagram version: 8

Is there any chance to access all variables like “this” property?

For example:
My variables → { “a”: 1, “b”: 2 }
I have a service task and it takes a parameter like → { “c”: { “a”: 1, “b”: 2 } }

I need to create an input map →
source: this
target: c

Hello @hmeniz ,

I fear that this is not possible. What would you try to achieve?

Jonathan

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”