Skip to content
Projets

À propos

Moteur d’exécution BPMN 2.0. Moteur de workflows JavaScript open source.

Productivité et automatisation

Comment ces chiffres sont mesurés

Progression mesurée des étoiles

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
Historique en cours

Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.

README.md

Original

bpmn-engine

Project Status: Active - The project has reached a stable, usable state and is being actively developed.

BuildBuild (Windows)Coverage Status

Introduction

BPMN 2.0 execution engine. Open source javascript workflow engine.

Documentation:

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

Mother of all

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, and dmn-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.

Explorer des projets similaires

Chargement…