Readonly validation issue


#1

I’m using Camunda’s generated forms for this scenrio. I have a workflow with two user tasks. The first one is a request form and the second form is an approval form. The details from the first form(Say username_field -> string, request_field -> string) are displayed in the second form as readonly fields.
I’m trying to setup a “Send back for rework” scenario, where in, the approver can send the request back for rework.

The issue that I’m facing is that, if the values in the first form are changed and resubmitted, although they get displayed in the second form, during submit, the readonly validation fails.

Cannot submit task form xxxxxxxx: Invalid value submitted for form field ‘request_field’: validation of readonly failed.

How can I overcome this issue?