Skip to content

Latest commit

 

History

History
41 lines (27 loc) · 1.21 KB

File metadata and controls

41 lines (27 loc) · 1.21 KB

bpmn.js Cockpit module

This example shows how to develop a Cockpit bpmn.js module.

For additional information, please also see the documentation.

Built and tested against Camunda Platform version 7.15.0.

Screenshot

Integrate into Camunda Webapp

Copy the bpmn-js-module.js file into the app/cockpit/scripts/ folder in your Camunda webapp distribution. For the Tomcat distribution, this would be server/apache-tomcat-X.X.XX/webapps/camunda/app/cockpit/scripts/.

Add the following content to the app/cockpit/scripts/config.js file:

// …
  bpmnJs: {
    additionalModules: [
      'scripts/bpmn-js-module'
    ]
  }
// …

After that start the server, login to Cockpit and navigate to the Process instance view to check the result.

Additional resources

If you require to bundle your custom module, you can follow along the bundled bpmn-js module example.

License

Use under terms of the Apache License, Version 2.0