What is Duna?
Duna coordinates work that spans services, people, and time. A process is a state machine described in JSON or JSONC, edited visually in the React application, and executed by a .NET host.
The model
A definition describes states and allowed transitions. An instance is one execution of a published definition. Variables carry the instance’s data. Actions do work on state entry, on exit, or on a transition.
A human review, message wait, or timer can park an instance. With the PostgreSQL store, that waiting state is durable and can resume when the relevant input arrives.
Four ways to work
- Design: author states, actions and guarded transitions in the canvas or JSON.
- Simulate: exercise a draft with controlled side effects and sample data.
- Execute: publish a version, start an instance, and deliver events or task outcomes.
- Observe: inspect history, variable snapshots and operational state.
Website and runtime
This website explains Duna through documentation and illustrated process patterns. The operational application is a separate React + Vite application under web/; the engine and its supporting services run in your environment.
Duna still uses ProcessFlow in project names, configuration keys and API namespaces. Keep those exact names when following configuration instructions.
Continue with the quickstart or explore the architecture.