Workflow Viewer
The Workflow Viewer shows a process as a diagram. It has two modes:
- Process definition — you edit the process: its steps, the connections between them and their properties.
- Process instance — you monitor a running process: which step is active and which are completed. The diagram cannot be changed.
Open it in the sidebar under Applications → Processes → Viewer, or with the address /admin/workflow-viewer. Next to it in the menu, Templates opens the search for process definitions (/search/process_definition) and a further entry the search for process instances (/search/process_instance).
How a Process Is Stored
A process definition is an entity of the type process_definition. Its diagram is not a file — every step, connection and condition is an entity of its own that belongs to the definition:
| Part of the diagram | Stored as |
|---|---|
| Start event | process_none_start_event |
| User task | process_user_task |
| System task | process_service_task |
| Exclusive gateway | process_exclusive_gateway |
| Parallel gateway | process_parallel_gateway |
| End event | process_none_end_event |
| Connection (edge) | process_sequence_flow |
| Condition of an edge | process_condition |
The steps are linked to the definition via process_has_node. The position of each step in the diagram is stored in the trait bpmn_props.
Open a Process
- In Select type…, choose Process definition (to edit) or Process instance (to monitor).
- In the second field, choose the definition or instance. It is enabled once a type is chosen. Definitions are listed as name (key), instances by their key, each with its lifecycle status. You can search by label, key, ID or status.
The address then changes to /admin/workflow-viewer/<type>/<id>, so you can bookmark it or send it.
As long as nothing is chosen, the page shows No process selected.
The Workflow Viewer before a process is selected
Process definitions cannot be created or deleted in the Workflow Viewer.
Edit a Process Definition
The editor has three columns: the palette Steps on the left, the canvas in the middle, and on the right the properties of the selected step and the list Versions.

Steps
| Step | Shape | Notes |
|---|---|---|
| Start Event | Thin circle | Only outgoing connections. Default name Start. |
| User Task | Box with | A task for a person; shows Assigned to …. |
| System Task | Dashed box with | A task the system carries out; shows its operation. |
| Exclusive Gateway | Diamond with × | Exactly one outgoing branch is taken, chosen by conditions. |
| Parallel Gateway | Diamond with + | All outgoing branches are taken. |
| End Event | Thick circle | Only incoming connections. Default name End. |
- Add a step: drag it from the palette onto the canvas. Or click it (or focus it and press Enter) — it is placed in the middle of the canvas.
- Connect two steps: drag from the handle on the right of one step to the handle on the left of the other. Not allowed: a connection from a step to itself, out of an End Event, or into a Start Event.
- Delete: select a step or connection and press Delete or Backspace. There is no button and no confirmation.
The canvas has controls for zoom, fitting the view and locking, a minimap and a grid.
Properties
Click a step or connection to edit it on the right. Every step has a Name.
User Task
| Field | What it does |
|---|---|
| Assignee (User) | The person the task is shown to (Select user…). |
| Form fields | The fields the person fills in. Add field adds one with Label, Key, a type (Text, Enum or Boolean) and the switch Required; enum fields also need Options (comma-separated). Remove deletes the field. |
System Task
| Field | What it does |
|---|---|
| Operation | What the system does: Notify assignee, Update entity status or Create relationship. |
| Result variable | Name under which the result is stored, e.g. status_result. |
Exclusive Gateway: the conditions are set on its outgoing connections.
Connection (edge)
| Field | What it does |
|---|---|
| Condition | When this branch is taken. Choose a preset (for example approved = true) or Custom… and enter an expression in the form name operator value, for example status = "ok". The condition is shown as the label of the connection. |
| Default edge (exclusive gateway fallback) | Takes this branch if no condition applies. The connection is labelled default; a condition cannot be set. |
Auto-Layout
Auto-Layout arranges the steps from left to right, starting with the Start Event, and fits the view. It only changes positions; they are stored with Save.
Validation
The editor checks the process while you work. Steps with a problem get a red border, and a red banner lists the first three problems (…and N more). The rules:
- There is a Start Event and an End Event.
- Every step leads to an End Event.
- A gateway has at least two branches.
- Every outgoing connection of an exclusive gateway has a condition or is the default edge; at most one is the default edge.
- A system task has an operation.
- The keys of form fields are unique, and enum fields have options.
Save and Publish
| Button | What it does |
|---|---|
| Save | Writes the diagram into the EP entities (creates, changes and deletes steps, connections, conditions and positions). There is no separate draft. Validation problems do not prevent saving. Message: Process saved. — or Saved with N validation issue(s). |
| Publish | Saves first. If the process has validation problems, it stops with Fix validation issues before publishing. Otherwise it hands the definition to the workflow service: Process "<name>" published. If the service finds problems, it shows them instead. |
Neither button asks for confirmation.
Monitor a Process Instance
With Process instance, the diagram is read-only: you cannot move, select or edit anything.

- The header shows the process name, Instance <key> · <target entity> and the status of the instance: running, completed, cancelled or failed.
- Open definition opens the process definition of this instance.
- Steps and connections are coloured by their status:
| Colour | Status |
|---|---|
| Grey | Pending |
| Blue | Active — the current step |
| Orange | Skipped |
| Green | Completed |
| Red | Cancelled |
- A user task shows Assigned to <user>.
If the instance or its definition cannot be found, the page shows Workflow instance not found, Instance not found or Process definition not found.
Current Limitations
- Any signed-in user can open the Workflow Viewer; rights are not checked yet.
- Many texts are shown in English in every UI language.
- Process definitions cannot be created or deleted here.
- Versions are not supported yet: the header and the list Versions always show v1 · draft, also after publishing.
- The operations of a system task are a fixed list.
- There is no undo and no warning about unsaved changes.
- Instances cannot be started, completed or cancelled here, and there is no history of an instance.