camunda-bpmn-moddle
v7.0.1
Published
Camunda moddle extensions for BPMN 2.0
Downloads
98,341
Readme
camunda-bpmn-moddle
This project defines the Camunda namespace extensions for BPMN 2.0 as a moddle descriptor.
Usage
Use it together with bpmn-moddle to validate Camunda BPMN 2.0 extensions.
import BpmnModdle from 'bpmn-moddle';
import camundaModdle from 'camunda-bpmn-moddle/resources/camunda.json';
const moddle = new BpmnModdle({ camunda: camundaModdle });
const serviceTask = moddle.create('bpmn:ServiceTask', {
'javaDelegate': 'my.company.SomeDelegate'
});
Building the Project
To run the test suite that includes XSD schema validation you must have a Java JDK installed and properly exposed through the JAVA_HOME
variable.
Execute the test via
npm test
Perform a complete build of the application via
npm run all
Behaviors
Inside a bpmn-js editor pair this extension with camunda-bpmn-js-behaviors to ensure Camunda properties are created, updated and deleted as expected.
License
Use under the terms of the MIT license.