Runs and their statuses
The statuses of a run (flow instance) and of its result, and the record each node leaves.
A run is one execution of a workflow: a flow instance that the engine moves from node to node, a flow instance result that the Runs tab lists, and one node execution per step.
Run statuses
A run’s flow instance is created with status running. When the engine finishes, the run becomes:
completedwhen the engine finished and the last node did not leave througherror;failedwhen the engine stopped on an error, or the last node left througherror.
The flow instance model also defines waiting, suspended, cancelled, paused, review and archived. A
workflow paused for prod creates its runs directly as paused (see Publishing).
The flow instance result, which feeds the Runs tab, uses running, completed and failed. It is created as
running as soon as the run starts, so a run appears in the list before it finishes.
Next steps
From draft to an immutable version, and which mode runs what.
How a node runsEach node is a Link Loom worker: spawn, activate, stop.
Worker state machineSeven states, nine events and the hook each transition runs.
When a node failsError port or crash, and how each one ends the run.
Isolation and sandboxesWorkers, expression contexts and code sandboxes.