Détail du package

camunda-bpmn-js-behaviors

camunda47.2kMIT1.10.0

Camunda Platform 7 and 8 behaviors for bpmn-js

bpmn, bpmn20, camunda, zeebe

readme

camunda-bpmn-js-behaviors

CI

Behaviors for bpmn-js ensuring that parts of the model that are specific to Camunda 7 and 8 are maintained. For example, the Camunda 8 behaviors will ensure that a bpmn:BusinessRuleTask element will not have a zeebe:CalledDecision and zeebe:TaskDefinition extension element at the same time.

Usage

Camunda 7

import camundaPlatformBehaviors from 'camunda-bpmn-js-behaviors/lib/camunda-platform';

const bpmnModeler = new BpmnModeler({
  container: '#container',
  additionalModules: [
    camundaPlatformBehaviors
  ]
});

bpmnModeler.importXML('...');

Camunda 8

import camundaCloudBehaviors from 'camunda-bpmn-js-behaviors/lib/camunda-cloud';

const bpmnModeler = new BpmnModeler({
  container: '#container',
  additionalModules: [
    camundaCloudBehaviors
  ]
});

bpmnModeler.importXML('...');

Development Setup

Prepare the project by installing all dependencies:

npm install

Then, depending on your use-case, you may run any of the following commands:

# lint and run tests once
npm run all

# run the tests in watch mode
npm run dev

License

MIT

Uses bpmn-js licensed under the bpmn.io license.

changelog

Changelog

All notable changes to camunda-bpmn-js-behaviors are documented here. We use semantic versioning for releases.

Unreleased

_Note: Yet to be released changes appear here._

1.10.0

  • DEPS: update to bpmn-js@18.6.1
  • FEAT: remove message ref when replacing with send task or throw event

1.9.1

  • DEPS: update to zeebe-bpmn-moddle@1.9.0

1.9.0

  • FEAT: relax zeebe:TaskListeners cleanup based on event types (#92)

1.8.0

  • FEAT: make Zeebe user task the default implementation of user task (#86)

1.7.2

  • FIX: create new user task form only if user task form referenced (#85)

1.7.1

  • FIX: clean up zeebe:TaskListeners on user task properties update (#90)

1.7.0

  • FEAT: support zeebe:TaskListener (#88)

1.6.1

  • FIX: remove empty zeebe:VersionTag (#81)

1.6.0

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

1.5.0

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

1.4.0

  • FEAT: support zeebe:ExecutionListener (#76)
  • DEPS: update to zeebe-bpmn-moddle@1.2.0

1.3.0

  • FEAT: support zeebe:UserTask (#67)

1.2.3

  • FIX: remove variable propagation behavior (#4051)

1.2.2

  • FIX: do not try to copy isExecutable from empty participants (#54)

1.2.1

  • DEPS: update devDependencies

1.2.0

  • FEAT: remove empty zeebe:Subscription extension elements (#50)

1.1.0

  • FEAT: support linking Camunda form through zeebe:formId (#49)

1.0.0

  • FEAT: remove output mappings from end events (#42)

0.6.0

  • FEAT: support bpmn:timeDate for timer boundary and intermediate catch events (#36)

0.5.0

  • FEAT: remove empty zeebe:TaskSchedule extension elements (#34)

0.4.0

  • FEAT: do not remove assignment if zeebe:candidateUsers set (#20)

0.3.0

  • FEAT: clean up timer expressions

0.2.2

  • DEPS update to min-dash@4

0.2.1

  • DEPS: support bpmn-js@10

0.2.0

  • FEAT: incorporate zeebe + camunda moddle behaviors
  • FEAT: keep isExecutable flag after participant deletion (#3)

0.1.1

  • FIX: do not update empty business key (#2)

0.1.0

  • CHORE: initial import and first release 🎉