View variable in text field in form type camunda form

Hi …
I am using camunda 8 in the cloud and I have variable filled in the start node and I want to view this variable in text field in a form with type camunda form or in other words how to inject this variable in the json object ?

Hi @Mina_Adel and welcome,
What you’re trying to achieve is the typical use case for Form-Based User tasks.
Every field in your form has a property, called form key. Camunda will automatically look for a variable with that name and bind it to the field, i.e., if your variable is called yourVariable configure the form key as follows:


If the value inside the form is changed, the variable will be updated.
You can read more about forms in the Camunda 8 documentation:

it works thanks @StephanHaarmann