{"repo":"vhidvz/workflow-js","free":true,"listed":false,"github":"https://github.com/vhidvz/workflow-js","clone":"git clone https://github.com/vhidvz/workflow-js.git","description":"WorkflowJS is a lightweight and flexible library for building workflows and processes with NodeJS. It allows you to define processes using BPMN 2.0","language":"TypeScript","stars":141,"topics":["bpmn-engine","workflow","state-machine","bpmn","workflow-engine"],"license":"MIT","category":"workflow-automation","readme_excerpt":"WorkflowJS WorkflowJS is a lightweight and flexible library for building workflows and processes with NodeJS. It allows you to define processes using BPMN 2.0. This is a JavaScript library for building and executing workflows. It provides a simple, declarative syntax for defining processes, and offers a flexible and extensible framework for handling workflow events and activities. + Installation + Concepts + Quick Start + Examples + License Installation Concepts Concept Description Type Decorator Required --- ---------- ------------------------------------------------------------------ -------- ----------- ---------- 1 Process is a BPMN lane, a collection of flow objects. Class @Process Yes 2 Node is a functionality of Activity in a workflow. Method @Node Yes 3 Activity is a Flow Object or a Node of a workflow process. Param @Act() Yes 4 Context is storing the state of the machine during execution. Param @Ctx() No 5 Token has a history of the execution State , tokens are needed. Param @Sign() No 6 history is an array of the State of a flow object or node in a token. -- @Sign() No 7 State it contains the state of each node or flows object in history . -- @Sign() No 8 Data is a shared space across the execution context. Param @Data() Maybe 9 Value is an isolated space for each flow object or node. Param @Value() Maybe Note: if you return a value in a Node the value is passed to the next available Node as a Value in a specific execution. Getting Started Define a BPMN Schema To d","default_branch":null,"files":null,"tree":[],"storefront":"/r/vhidvz","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/vhidvz/workflow-js/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}