Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

zeebe-bpmn-moddle

camunda49.2kMIT1.9.0

Zeebe moddle extensions for BPMN 2.0

bpmn, moddle, bpmn20, zeebe, meta-model

readme

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

const taskDefinition = moddle.create('zeebe: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.

changelog

Changelog

All notable changes to zeebe-bpmn-moddle are documented here. We use semantic versioning for releases.

Unreleased

_Note: Yet to be released changes appear here._

1.9.0

  • FEAT: support zeebe:AdHoc for bpmn:AdHocSubprocess (#69)

1.8.0

  • FEAT: support zeebe:LinkedResource for bpmn:ServiceTask

1.7.0

  • FEAT: support zeebe:TaskListener for bpmn:UserTask (#67)

1.6.1

  • FIX: fix allowedIn for zeebe:LoopCharacteristics (#66)

1.6.0

  • FEAT: support zeebe:versionTag for zeebe:CalledDecision, zeebe:CalledElement and zeebe:FormDefinition (#65)

1.5.1

  • FIX: rename zeebe:priority to zeebe:priorityDefinition (#62)

1.5.0

  • FEAT: support zeebe:priority (#62)

1.4.0

  • FEAT: support zeebe:bindingType for zeebe:CalledDecision, zeebe:CalledElement and zeebe:FormDefinition (#61)

1.3.0

  • FEAT: support zeebe:VersionTag (#60)

1.2.0

  • FEAT: support: zeebe:ExecutionListener (#57)

1.1.0

  • FEAT: support zeebe:UserTask (#54)

1.0.0

  • FEAT: support CalledElement#propagateAllParentVariables (#51, #52)
  • FEAT: support FormDefinition#formId (#49)

0.19.0

  • FEAT: add zeebe:modelerTemplate for root elements

0.18.0

  • FEAT: add zeebe:TaskSchedule extension element (#45)
  • CHORE: remove zeebe:PropertiesHolder type (#44)

Breaking Changes

  • zeebe:PropertiesHolder type removed without replacement as zeebe:Properties extension elements are generally allowed

0.17.0

  • FEAT: support zeebe:script (#39)

0.16.0

  • FEAT: support zeebe:candidateUsers (#38)

0.15.0

  • CHORE: remove behaviors (#33)

Breaking Changes

0.14.0

Unintentional re-publish of v0.13.0.

0.13.0

  • FEAT: support zeebe:properties (#30)

0.12.2

  • FIX: allow copy extensions to user task (#28)

0.12.1

  • FIX: serialize zeebe:modelerTemplateIcon as property (#25)

0.12.0

  • FEAT: support zeebe:modelerTemplateIcon (#23)

0.11.0

  • FEAT: support zeebe:modelerTemplate and zeebe:modelerTemplateVersion (#20)

0.10.0

  • FEAT: support zeebe:assignmentDefinition for bpmn:UserTask (b5f368)

0.9.0

  • FEAT: support zeebe:calledDecision for bpmn:BusinessRuleTask (ee9b59a)

0.8.0

  • FEAT: make Message Intermediate Throw Event and Message End Event Zeebe Service Tasks to support Zeebe 1.2 (#15)
  • FIX: restrict taskDefinition property for Zeebe Service Tasks only (#14)

0.7.1

  • FIX: correctly encode HTML entities in extension properties (#12)

0.7.0

  • FEAT: extend ZeebeServiceTask type to support Zeebe 1.1 (#9)

0.6.0

  • FEAT: allow zeebe:TaskHeaders only in bpmn:ServiceTask (#7)

0.5.0

  • FEAT: add support for zeebe:UserTaskForm and zeebe:FormDefinition (#6)

0.4.0

  • FIX: add allowedIn for zeebe:IoMapping (#5)

0.3.0

  • FEAT: implement zeebe moddle extension and add canCopyProperty for initial set of elements (#3)

0.2.0

  • FEAT: allow propagateAllChildVariables attribute for zeebe:CalledElement (#2)

0.1.0

  • CHORE: first release :tada: