1.0.4 • Published 12 months ago

@aylx/bpmn-moddle v1.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

zeebe-bpmn-moddle

CI

This project defines the Zeebe namespace extensions for BPMN 2.0 as a moddle descriptor.

Usage

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({ kunpeng: zeebeModdle });

const taskDefinition = moddle.create('kunpeng:TaskDefinition', {
  type: 'payment-service',
  retries: '5'
});

const serviceTask = moddle.create('bpmn:ServiceTask', {
  extensionElements: [ taskDefinition ]
});

Building the Project

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.

1.0.4

12 months ago

1.0.3

12 months ago

1.0.2

12 months ago

1.0.1

12 months ago

1.0.0

12 months ago