Workflow Designer and Manager
Background
Nexus does not hard-code its approval processes any more than it hard-codes its types. Every review, release and sign-off procedure is a workflow: a flowchart of nodes and connections stored as data, drawn in the Workflow Designer and executed by the engine. The Workflow Manager is the other half of the pair — it shows every instance the engine has run or is running: where each one stands, who it waits on, and the step-by-step log of what has already happened. This article walks both apps: the ideas first (definitions, instances, and the three ways a workflow starts), then designing an approval flow node by node, then every part of both screens.
A word of respect before you start: a workflow toggled Online is live for every user immediately, and deleting a definition cannot be undone. Design on an Offline draft, and only switch it Online once the flow is complete.
Definitions, instances, and how workflows start
Three words carry the whole model:
- A definition is the flowchart itself — nodes, connections, assignees — with an internal name (always carrying your company prefix, e.g.
n5DocumentReview), a display name, and an Online/Offline switch. Offline definitions are drafts: they exist, but nothing can start them. - An instance is one run of a definition against one object revision. Starting the release of a document creates an instance; the instance walks the nodes, creates Inbox tasks at approval gates, and ends Completed, Failed or Abandoned.
- A trigger is what creates the instance. The definition records an intended trigger event (Manual, Object Created, Revision Created, Status Changed, Attribute Changed, Scheduled), but in practice the bindings that start workflows live in the data model: a type's actions put a verb in the object's context menu that launches a bound workflow when clicked, and a type's reactions launch one automatically when an event fires — see [Data Model Designer](./data-model-designer.md).
Why it matters to Nexus: because processes are data, the same release procedure governs every document in the company, and changing it is an edit in the designer — not a software release. The out-of-the-box example is Ad-hoc Review: a ready-made review flow bound to the Request Review action that every item type inherits, so any part in Draft or In-work can be sent for review from its context menu on day one.
One guard worth knowing: the engine refuses to start a second running instance of the same definition on the same revision. Clicking Request Review twice does not queue two reviews — the second attempt is rejected and the client tells you so.

Step by step: design an approval flow
The worked example: a two-gate document review that releases the document when approved and loops back for rework when rejected.
- Open Workflow Designer and click New in the list footer. A fresh definition appears with a Start and an End node already placed, named
NewWorkflowbehind your company prefix. - In the palette's WORKFLOW section, set the internal name (the prefix is locked in front of it) and a display name people will recognise in the Manager and their Inbox. Leave the status Offline while you design.
- Drag an Approver node from the CONTROLS section onto the canvas between Start and End. Click it: the node editor opens on the right. Title it Technical review, pick the approvers (a group beats a named person — no single point of absence), and choose the approval mode — All must approve, Any one approves, or a threshold count.
- Drag a Status node after the gate, title it Release, and set its target status to
Released— the dropdown offers the lifecycle states defined in the data model. - Wire the flow: drag from the edge of one node to the next to draw a connection. Forward connections are the approve path. For the reject route, draw a connection from the Approver back to itself or to an earlier step, then click it to toggle it into a reject path (it turns dashed). A rejection without a route back strands the item — always give rejects somewhere to go.
- Click Save, then flip the status toggle to Online and save again.
- Bind it in the Data Model Designer: add an action (or reaction) on the governed type and pick this workflow in its workflow picker. From then on the verb appears on every object of that type, and each click starts an instance.

The Workflow Designer, item by item
The workflow list
The left column lists every definition: a green dot for Online, grey for Offline, the display name over the internal name. The search box filters by either name. Hovering a row reveals a delete × — deletion asks for confirmation and cannot be undone. The footer holds four buttons: New (creates a draft with Start and End pre-placed), Import (loads definitions from a JSON file), Export (downloads all definitions as workflows.json — your backup before big edits), and Refresh. The divider between list and canvas drags to resize.
The palette — WORKFLOW section
The definition's identity: internal name behind the locked company prefix, display name, the Online/Offline toggle, and the Trigger Event dropdown (Manual, Object Created, Revision Created, Status Changed, Attribute Changed, Scheduled). Treat the trigger as declared intent and do the actual wiring through type actions and reactions, which is the mechanism proven in production.
The palette — CONTROLS section
Nine node kinds, each colour-coded, dragged onto the canvas to build the flow:
- Start (green) and End (red) — every flow's entry and exit.
- Process (blue) and Action (steel blue) — engine-executed steps. Both carry an action key (e.g.
send_notification) naming the server-side action to run; custom steps ship as workflow-action plugins the engine discovers, so your own code runs as a node without touching the designer. - Decision (amber) — a branch point for drawing alternative routes.
- Status (purple) — sets the object's lifecycle state to a chosen target; this is how a flow actually releases something.
- Approver (cyan, double-size) — the human gate; creates Inbox tasks for its assignees and waits.
- SubFlow (green) — runs another workflow as a step, so shared fragments are defined once.
- Translate (brown) — hands the object's document to the Translation service to convert its format; the node's dropdown lists the translators the service currently offers, with descriptions.
The palette — ASSIGNMENTS section
Collapsed by default: lists of user, group, role and project IDs associated with the whole definition. Unlike the Approver node's pickers these are typed in as raw IDs — prefer putting people on Approver nodes, where they are chosen from the real directory.
The canvas
A snap-to-grid surface that grows as the flow does. Drag nodes to move them; drag a corner handle to resize; drag from a node's edge to draw a connection to another node, and drag a connection's end to reattach it. Clicking a connection toggles it between the forward (approve) path and the reject path; a small delete control removes it. Drag empty background to pan; the toolbar offers Fit, zoom in and zoom out. The legend decodes the three connection styles: Approve (solid blue), Cancel (dashed red — a reject heading to a terminal node), and Rework (dashed amber — a reject looping back to an approval gate). An UNSAVED badge appears in the toolbar the moment the draft differs from what is stored; nothing reaches the engine until you click Save.

The node editor
Click any node and the editor opens on the right: title, a ten-colour swatch row, and then kind-specific fields. The Approver node carries the most: approval mode (All must approve / Any one approves / Threshold count with a required number), an assign to the initiator checkbox (routes the gate to whoever started the workflow), and three pickers — approver roles, groups and users — populated from the system's real directory, with stale entries still shown by raw ID so they can be reviewed and removed. Status nodes pick a target status from the lifecycle states defined across the data model; SubFlow nodes pick the referenced workflow from the other definitions; Translate nodes pick a translator; Process and Action nodes take the action key.
The Workflow Manager, item by item
Filter tabs and the instance table
Four tabs — All, Running, Failed, Completed — with live counts, over a table of instances: workflow name, current node (exactly which step the instance sits at), a colour-coded status pill (Running cyan, Completed green, Failed red, Abandoned grey), started time, duration (still ticking for running instances), and who triggered it. This answers the daily question — where is my release stuck? — in one glance: the current node of a Running instance is whose Inbox it sits in.
The columns behave like every other Nexus grid: click a header to sort, drag to reorder, drag the edge to resize, and the gear beside Refresh opens Configure Columns — including fields the table does not show by default (ended time and the instance, definition and object ids), with your layout remembered per user.

The row radial
Right-click any row (the toolbar reminds you) for four verbs: Log (open the instance viewer — also available as the per-row button), Open (jump to the object the workflow runs against; disabled when the instance carries no object), Copy id (for support and log correlation), and Delete. Delete is deliberately disabled while an instance is Running — history is only removable once a run has finished — and always confirms first. See [Radial Context Menus](../getting-started/radial-context-menus.md) for the interaction itself.
The instance viewer
Opening the log shows the definition's own flowchart, read-only, with live status painted onto it: each node wears a badge — amber glow for the step currently running, green for succeeded, red for failed, grey for skipped — so you read the run the same way you designed it. The header carries a ← Instances back button, the status pill, and start time with elapsed duration; a Fit/zoom toolbar with a percentage readout sits over the canvas.
Below, behind a draggable divider, is the EXECUTION LOG: every executed step in order with its timestamp, status, who executed it, and summary chips (✓ passed / ✗ failed / ⊘ skipped). Entries with messages expand, and failure messages render in monospace with a Copy button — paste straight into an issue report. Hovering a log entry highlights its node on the canvas above, tying the two views together.

Use case
Quality wants every specification reviewed before release. You design n5SpecReview in twenty minutes: Start → Approver Technical review (the engineering leads group, any one approves) → Approver Quality approval (the quality group, all must approve) → Status Release targeting Released → End, with dashed amber reject paths looping both gates back to the first. Save, toggle Online, then bind it to the specification type as a Submit for review action available in Draft and In-work. The first spec goes through the same afternoon; on Thursday the Manager shows one instance Running at Quality approval since Tuesday — one nudge to the right Inbox and it completes.
Tips
- Design Offline, flip Online only when the flow is finished — Online is live for everyone at once.
- Assign gates to groups or roles, not named people; a named person on holiday is a stalled release.
- Every reject path needs a destination — loop back to a rework step rather than dead-ending the item.
- Export all workflows to JSON before restructuring one — it is a one-click backup and a one-click restore.
- Chase stalled work from the Manager's Running tab: the current-node column tells you exactly whose Inbox to knock on.
- Start workflows through type actions and reactions in the Data Model Designer — that binding is the proven path, and inheritance puts the verb on every descendant type for free.
See also
[My Tasks and the Inbox](../applications/my-tasks-and-the-inbox.md) [Data Model Designer](./data-model-designer.md) [Engineering Changes: ECR, ECO and ECN](../applications/engineering-changes-ecr-eco-and-ecn.md) [Working with Objects and Revisions](../getting-started/working-with-objects-and-revisions.md)