I’m currently working with Camunda Platform 8.7 and Camunda Modeler version 5.350.
In my process, I start with a user task linked to a form named “DEMANDER la Création d’un nouveau Contrat”. The form ID is “demanderCreationContrat”.
To simplify the test, the form contains only two variables:
• “denominationClient”
• “contratRegionAsie”
After the user task, I have three script tasks that are intended to retrieve the values from the form variables. However, only the variable “denominationClient” is successfully retrieved. The second variable “contratRegionAsie” is always undefined in the script tasks.
I’ve checked the form configuration multiple times, and both fields seem correctly defined and mapped.
Camunda’s AI assistant says all form variables should be available as process variables after the user task completes, but that’s not what I’m observing.
Has anyone experienced a similar issue?
• Is there a specific configuration required to ensure all form variables are promoted to process variables?
• Could it be related to the way the form fields are bound or named?
• Are there logs or debugging steps I could use to trace what happens between the form submission and the script tasks?
I’ve attached screenshots of the process model and form configuration for reference.
Thanks in advance for your help!
Best regards,
Hi @FromEarth, welcome to the forums! That data should be populated. Could you share you BPMN and forms as an attachment here? I can run those directly and see what might be happening.
Hi @FromEarth,
Looking very closely at your screenshots, it looks like the variable is somehow being renamed between your user form and your script task.
It seems to be named “contratAsie” rather than “contratRegionAsie”