UserTask with embedded form and limitations (Form fields)

Hi,

I have a form with 53 fields:

I will use the 53 fields in all the UserTasks, what I want to do is make some fields type: mandatory, read-only, editable and hidden;
Each field of the form can be mandatory, editable, read-only according to the use case.

The fields can be editable when it is necessary to be editable, hidden when the field is not to be edited and read only when the field can be seen but cannot be edited, or that a certain field of the form is mandatory to fill out.

This is possible only with the Camunda modeler XML file or it is possible with external forms (What I did is add the 53 fields of the form in the XML file in camunda modeler) what I don’t know how to do is that each field is read-only type , required or hide the field when it is not necessary to use it.

The form with the 53 fields, I will use it in the whole process, in some parts I will only use it to validate (That is why I want some fields to be read-only, hidden or editable).

I hope someone can help me.

can see: https://docs.camunda.org/manual/7.9/user-guide/task-forms/#form-field-validation for available validations. But if not all options are there, you can build a Angular based form with the “Embedded Forms” or take a look at: https://github.com/StephenOTT/camunda-formio-plugin which gives you drag and drop form building with all of the options you described.

Hi @StephenOTT,

I attach the real model of the BPMN process, it is a model already established by the client;
I had already seen the first link that you shared with me and it helped me to make required fields and read only.

The second link that you share with me, I feel that it is very advanced for me and I cannot understand it completely.

To make it more understandable I attach an image of some data that I must handle throughout the process.


Regards.