camunda-bpmn-js-behaviors:基于 bpmn-js 的 Camunda 行为维护项目

Camunda behaviors for bpmn-js

Branch4Tags43
FilesLast commitLast update
9 days ago
2 months ago
1 month ago
4 years ago
2 months ago
4 years ago
2 years ago
1 year ago
3 months ago
2 months ago
9 days ago
9 days ago
3 years ago

camunda-bpmn-js-behaviors

CI

bpmn-js 提供的行为,用于确保特定于 Camunda 7 和 8 的模型部分得到维护。例如,Camunda 8 行为将确保 bpmn:BusinessRuleTask 元素不会同时拥有 zeebe:CalledDecisionzeebe:TaskDefinition 扩展元素。

用法

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('...');

开发环境设置

通过安装所有依赖项来准备项目:

npm install

然后,根据您的使用场景,您可以运行以下任一命令:

# lint and run tests once
npm run all

# run the tests in watch mode
npm run dev

许可协议

MIT

使用了 bpmn-js,其根据 bpmn.io 许可协议授权。

Introduction

Camunda behaviors for bpmn-js

Customize your domain