paed01/bpmn-engine
关于
BPMN 2.0 执行引擎。开源 JavaScript 工作流引擎。
效率与自动化实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文bpmn-engine
Introduction
BPMN 2.0 execution engine. Open source javascript workflow engine.
Documentation:
- Peer dependencies
- Supported elements
- Extensions
- Debug
- A pretty image of a process
- Ecosystem
- Acknowledgments
Peer dependencies
The runtime dependencies are declared as peer dependencies, so you install and pin them yourself and the engine reuses your single copy:
npm install bpmn-engine bpmn-elements bpmn-moddle moddle-context-serializer debug smqp
| Peer dependency | Range | Role |
|---|---|---|
bpmn-elements |
>=18.0.25 |
element behaviour functions |
bpmn-moddle |
>=9 |
BPMN XML parser (9 vs 10) |
moddle-context-serializer |
>=6 |
persistable source context |
smqp |
>=15 |
message broker driving execution |
debug |
>=4 |
logging |
bpmn-moddle spans a major version on purpose — see bpmn-moddle 9 vs 10 for the import change and how persisted state stays compatible across the upgrade.
Supported elements
See bpmn-elements for supported elements. The engine only support elements and attributes included in the BPMN 2.0 scheme, but can be extended to understand other schemas and elements.
The aim is to, at least, have BPMN 2.0 core support.
Extensions
The engine can be extended to understand other schemas and elements. Docs, guides, and ready-made extensions for the BPMN stack are published at 0dep.se — check there before writing a new extension from scratch.
Two ready-made extensions:
Debug
This package is shipped with debug activated with environment variable DEBUG=bpmn-engine:*. You can also provide your own logger.
More granular debugging can be achieved by filtering on element type:
DEBUG=*scripttask*,*:error:*
or on Windows PowerShell:
$env:DEBUG='bpmn-engine:*'
and to turn it off you need to:
$env:DEBUG=''
A pretty image of a process

Ecosystem
Packages that build on or complement the engine:
- bpmn-elements — BPMN 2.0 executable elements
- bpmn-middleware — Express middleware exposing the engine over HTTP, with pluggable state storage.
- @0dep/bpmn-extensions — Flow extensions for
bpmn-elements: FEEL expressions and the zeebe-namespace BPMN extension elements. - @onify/flow-extensions — Onify Flow extensions for
bpmn-elements. - dmn-elements — Executable DMN 1.3 decision elements; back a Business Rule Task with it.
- BPMN Runner — Browser-based BPMN 2.0 and DMN runner built on
bpmn-elements,@0dep/bpmn-extensions, anddmn-elements; run and step through diagrams client-side with live element highlighting, no data leaves the browser.
Acknowledgments
The bpmn-engine resides upon the excellent library bpmn-io/bpmn-moddle developed by bpmn.io
All diagrams are designed with Camunda modeler.
探索相关项目
加载中…