@camunda I believe there is a bug when multi-instance sub-processes when using generated forms.
If you take the BPMN file from above, and add a form validation rule of readonly for the OrderName form field, the Order001 task can be completed, but when you try and complete the Order001 task, the ReadOnly validation error kicks in, even though the field was only read only and there was no difference between Task 1 and Task 2 that was generated.
@camunda can the variable Type API be accessed from JS? Is there a ability to type to a collection value?