Skip to main content

Executions

Executions (sidebar: Automation › Executions) is the run history of every workflow: what ran, when, how it was started, how long it took and where it failed. It is most useful for runs that nobody was watching: schedules, Kafka messages, emails, sub-workflows and guardrails.

Which runs are recorded, what a run contains, saved data and retention are described in Manual Runs and Run History. In short: background triggers, Run now, sub-workflows and guardrail runs are always recorded; requests through a proxy's workflow only when they fail or the workflow saves run data; test runs from the editor never.

The list​

ColumnWhat it shows
RunThe end of the run id (hover for the full id).
WorkflowThe workflow that ran.
StartedWhen the run started, in your time zone.
StatusSucceeded, Failed or Running, with the start of the error, and N handled when steps took their error branch (Handled errors).
Started byTrigger (schedule, Kafka, email), Run now, Proxy request, Sub-workflow, Guardrail or Error workflow, and the trigger type.
VersionThe published version that ran: for sub-workflows the called workflow's version, for proxy requests and guardrails the version of the stored workflow they ran. — when the definition has no version (a proxy's own inline workflow).
DurationHow long the run took.

Filter by workflow, status (including With handled errors), trigger, what started the run, and time range (last hour, 24 hours, 7 days, 30 days or all time). Newest runs come first. The list updates by itself when a recorded run starts (runs still going after 5 seconds) or ends; Refresh reloads it by hand.

A run​

Click a run to open it:

  • Summary: status, start and end time, duration, what started it, the trigger, the version, the number of handled errors, and a link to the run that started it: Called by run for sub-workflows, Failed run for an error workflow run.
  • Returned: how a run that ended at a Return step (or a manual or sub run at a response step) answered: the step, success or error, and the HTTP status of a response. The returned body is run data: modifiers see it with Show data, viewers do not.
  • Error: the error that stopped the run.
  • Returned value: through the API, a run that ended at a Return node (or a manual run or sub-workflow that ended at a Response node) has return with the step, its status and, for a response, the HTTP status; viewers see that much. The returned body (masked, capped at 16 KB) is run data: modifiers read it with the run's data (GET /api/v1/workflows/runs/{run_id}/data, audited), and viewers do not see it. See Returned value.
  • Path: the workflow on a read-only canvas, with the steps that ran in green, a step that handled an error in amber with its error under it, the step that failed in red with its error under it, and the connections the run went along highlighted. Click a step to see its settings.
  • Steps: every step that ran, in order, with its status (Handled error included), duration and error.

The canvas shows the definition of the version that ran, also for runs of older versions (loaded with GET /api/v1/workflows/{id}/versions/{version}, viewer role, secrets masked). If that version cannot be loaded, it shows the current published version with a notice listing the run's steps that are not on it. Runs of a proxy's own workflow (version 0) are drawn on the current workflow. An open run updates by itself when it ends.

Show data​

When the workflow saves run data, or the run returned a body, modifiers see Show data. It loads each step's output for that run and the returned body (secrets masked when the run was saved). Each read is recorded in the audit log. Viewers and auditors see whether a run has data, but not the data.

Handled errors​

A step that took its error or invalid branch, so the workflow carried on, is recorded as a handled error (status handled_error, with its error text), and the run counts them in handled_errors. The run itself keeps its status: a run whose failures were all handled succeeded. Choose With handled errors in the status filter to find them (API: status=handled_error); see Handled errors.

From the editor​

The workflow editor has Editor and Executions tabs. Executions lists the runs of that workflow only, with the same filters, live updates and run view; Open in Executions opens the full page filtered to that workflow. After a Run now of the published version, Open run goes straight to the run. The editor header and the Workflows list show each workflow's latest run.