Key Entry in a Input Map Type Variable, as a Variable and not a fixed value

Hi,

In the cosNewValues, I need to enter the value of the Key as a variable itself.
As you can see in the attachement, the Key is “${field_variable}” so it should be a variable but the different tries I made faileds:

  1. ${field_variable}
  2. “${field_variable}”

And the value is not recognized by Camunda.

Is there an easy way to make Camunda reads the value in the variable field_variable as a Key?

Should I use scripting instead? In that case how should I set it?

Thanks

Making the Key Entry in a Input Map Type Variable, a Variable and not a fixed value

1 Like

Hi Mokhtar,

since Camunda 7.8 this should be possible, see the related JIRA issue CAM-8009 .
Which version do you use?

Greets
Chris

Hi Zelldon,

Thanks for the answer. It doesn’t seem to work…We are using 7.6.
Any script that can do it.

Mokhtar