Form bpmn js Deployment

Hello,

I have questions regarding the usage of forms inside the bpmn-js-modeler.

  1. Can I add buttons to the form that send a request to some API?
  2. How can I deploy the workflow + form from the bpmn-js-modeler.

I saw some examples how this is done from the camunda modeler but none from the bpmn-js.

Hi,

  1. You can handle form submission via submit event handler: https://github.com/bpmn-io/form-js/tree/develop/packages/form-js-viewer#submit---data-errors-

  2. bpmn-js is a library which allows to export XML. The deployment is outside of the scope of the library as it depends on the engine you want to deploy the diagram to. That’s why you can deploy from Camunda Modeler but not demo.bpmn.io.

Let me know if you have more questions.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.