bpmn-engine is an open-source serverside workflow engine built with javascript. Then engine executes automated processes modeled according to the standard Business Process Model and Notation - BPMN 2.0.
The following elements are tested and supported.
- Definition
- Process
- Lane
- Flows:
- Sequence: javascript- and expression conditions
- Message
- Events
- Start
- End
- Error
- Boundary
- Message
- Start
- Intermediate
- Timer: with duration as ISO_8601
- Intermediate
- Boundary Interupting
- Boundary Non-interupting
- Tasks
- Sequential loop
- Cardinality, integer or expression
- Condition, script or expression
- Collection (camunda expression)
- SubProcess
- Script: javascript only
- Task: completes immediately
- User: needs signal
- Service
- Sequential loop
- Gateways
- Exclusive
- Inclusive
- Parallel: join and fork
- Form
The processes are modelled using Camunda modeler.
The module uses debug so run with environment variable DEBUG=bpmn-engine:*
.
The bpmn-engine resides upon the excellent library bpmn-io/bpmn-moddle developed by bpmn.io