Model and test a process
Models are authored inside a project in the Studio tab. To get started:
- Open the Studio tab and create or open a project (use New project to scaffold one from a template).
- In the project workspace, use New file → Model to create a
.bpmnfile (or open an existing one underresources/processes/). DMN decisions, forms, and Page Composer pages are authored the same way, alongside the model.
- Create / edit a
.bpmnmodel, Deploy it to the engine (deployment is idempotent — redeploying an unchanged model is a no-op; a changed model becomes the next version), then Start instance once the saved model matches what is deployed.
Test a model in the browser (μ-nano)
Click Test to execute a model entirely in your browser — no cluster round-trip, fully offline. Test mode is powered by μ-nano ("micro-nano"), a compact (~0.5 MB) WebAssembly build of the exact same Rust engine the cluster runs. Because it is the real engine and not a re-implementation, token flow, gateways, timers, DMN, and FEEL expressions behave precisely as they will on the server.
To run a test and inspect what happened:
- Open a model and click Test.
- Start an instance, optionally supplying initial variables as JSON.
- As each job activates, complete it with mock result variables, fail it, or throw a BPMN error — μ-nano advances the tokens accordingly.
- Fast-forward the virtual clock to fire timers without waiting in real time.
- Watch tokens move on the diagram and read the execution trace — the ordered list of elements visited, jobs created/completed, and variable snapshots — to confirm the model behaves as intended before you deploy anything.