This project defines the Zeebe namespace extensions for BPMN 2.0 as a moddle descriptor.
Use it together with bpmn-moddle to validate Zeebe BPMN 2.0 extensions.
const BpmnModdle = require('bpmn-moddle');
const zeebeModdle = require('zeebe-bpmn-moddle/resources/zeebe.json');
const moddle = new BpmnModdle({ zeebe: zeebeModdle });
const taskDefinition = moddle.create('zeebe:TaskDefinition', {
type: 'payment-service',
retries: '5'
});
const serviceTask = moddle.create('bpmn:ServiceTask', {
extensionElements: [ taskDefinition ]
});
Execute the test via
npm test
Perform a complete build of the application via
npm run all
Inside a bpmn-js editor pair this extension with camunda-bpmn-js-behaviors to ensure Camunda properties are created, updated and deleted as expected.
Use under the terms of the MIT license.