So i have reacted BPMN diagram like this
I have created form to get client details when i submit it i want the approver to only see the client details not to edit them can any one tell me how to do that. the form fields are f name, l name, age and experience.
hoping a simple solution
Hi did anyone figure this out??
Hi @Parth_Datwani
Have you tried to follow the documentation User Task Forms | docs.camunda.org?
I am using camunda forms and the code is in JSON.
i tried doing
but no result, so i decided to try if i can set a default value in that field so it will be basically read only
but I haven’t found a way to keep a default value
What if you give it a try with "disabled": true
?
yes it worked. Can u tell me how i can keep a default value from previous form into this like if i enter
how can i get selected name
here as default
I created the simplest example for you to demonstrate.
Basically, the steps are the following:
-
Create a form field variable in the first coach
-
Use it in the form of the second coach(Key)
See attached.form_1.form (233 Bytes)
diagram_1.bpmn (3.4 KB)
form_3.form (530 Bytes)
Yes i figured out to do it without the plugin we can change the value of key in the json. And wotks the same. Thank you u have helped me learn a lot today. If any future probls will be back
You’re welcome. Please mark one of the replies as a Solution so the community can see that the questions were answered.
Hi @Parth_Datwani and @Alex_Voloshyn,
maybe a little bit too late with this hint: the last Alpha-version of the modeler supports disabled form fields out of the box:
You can download the version here (select 5.0.0-alpha.1): Camunda Download Center -
And read more about the changes here: Camunda Modeler 5.0.0-alpha.0 Released - Camunda
Hope this helps, Ingo
2 Likes