When we have some variables in context like:
{ "a": { "x": "x", "y": "y" }, "z": "z" }
and input mapping of the worker like: z -> a.x
, we get worker context:
{ "a": {"x":"z"} }
.
But I need:
{ "a":{"x":"z","y":"y"} }
.
And I don’t want to list all nested fields of a in mapping.
I have also tried mapping a -> a; z -> a.x
, it didn’t help.
Is there any way to get the behaviour that I need?
Hey @road21,
thanks for trying out Zeebe
Currently you have to list all mappings, so in your case
z -> a.x
and a.y -> a.y
should work.
From my side your use case sounds valid and makes sense, please create an feature request on github .
Greets,
Chris
2 Likes