camunda / camunda-modeler

An integrated modeling solution for BPMN, DMN and Forms based on bpmn.io.
https://camunda.com/products/modeler
MIT License
1.48k stars 471 forks source link

Expose camunda:formHandlerClass attribute as a field on Blank Start Events and User Tasks #2206

Open StephenOTT opened 3 years ago

StephenOTT commented 3 years ago

There is a formHandlerClass attribute: https://docs.camunda.org/manual/latest/reference/bpmn20/custom-extensions/extension-attributes/#formhandlerclass

which we can see was added to moddle: https://github.com/camunda/camunda-bpmn-moddle/issues/19

But the field seems to have never been exposed in the Form tab on the Properties Panel.

Having this attribute exposed as a field provides the ability for customized form submission handling and replaces the need for working with legal Form Field Validations, etc.

Current workaround is having to edit the xml. The engine already supports this attribute: https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/parser/BpmnParse.java#L969

Thanks

nikku commented 3 years ago

Thanks for reporting. Happy to take a PR that implements this feature in our properties panel.