Skip to content
프로젝트

소개

BPMN 2.0 실행 엔진입니다. 오픈 소스 JavaScript 워크플로 엔진입니다.

생산성 및 자동화

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

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.

관련 프로젝트 살펴보기

불러오는 중…