Model a process
Build a document review in four passes. Start with a single review task, then add a decision, parallel work, and an automatic check. Each pass ends with a runnable model. You can start from the supplied BPMN file in any part.
Set up the Modeler
Section titled “Set up the Modeler”Keep the local demo server from Getting Started running
and keep the downloaded run-workflow.ts helper. The helper runs with Node.js
26.13.1. The Modeler development workspace requires Node.js 24 and npm. Open
a separate terminal in the Getriebe Modeler source distribution with that Node
version selected.
npm ciGETRIEBE_DEV_PROXY=http://127.0.0.1:3000 npm run devOpen the URL Vite prints. The development proxy lets the Modeler use the API
on the same origin. Keep the API path /api/v1 and connect as admin with the
local demo password admin. This account can validate and deploy models.
1. Review a document
Section titled “1. Review a document”Open document-review-linear.bpmn. The diagram has three elements connected by Sequence Flows.
Received → Review summary → FinishedThe thin circle is a None Start Event, the rounded rectangle is a User Task, and the thick circle is a None End Event. The start activates the review. The process waits while the reviewer works and proceeds when the task is completed.
To build your version, open document-review-start.bpmn. It sets up the process identity and start event. Place a User Task from the palette to the right of the start and a None End Event to the right of the task. Use the global connect tool in the palette. Select the start and then the task to draw the first Sequence Flow. Activate the tool again and connect the task to the end.
Name the task Review summary and set its General → ID to
reviewSummary. Name the end Finished. Under Roles, add the role key
reviewer, then set the task’s Potential owner role to reviewer. The
role makes the task available to eligible reviewers. Save your BPMN file
with Export BPMN.
The helper identifies the process and its tasks by ID. Keep the starter’s process ID and use the specified task IDs. The completed file above is an alternative if you want to skip an editing step.
Deploy and run
Section titled “Deploy and run”With your diagram open, choose Validate to read the structural and behaviour results. Then choose Validate and deploy. Deployment stores a new runnable version. Export BPMN saves a local file separately.
In the terminal where you saved the helper, run:
node run-workflow.ts tutorial linearCheck that the reviewer claims and completes reviewSummary and the
process completes. If the helper says it cannot find the task, check that you
deployed the linear version most recently to this local server.
Continue to choose a review path.
The separate order deadline tutorial starts from a completed order model and exercises timer interruption.