Skip to main content

Run details

A run's details show its logs and, for a failed run, the step that failed. Open them by selecting a run on the Runs page, a run's ID on a workflow's runs page, or a run on a deployment's Runs tab.

Run Details for a run that succeeded: Execution Logs above, Result below

Result​

Result shows the value a finished run returned, the same as the editor's Run tab. A run that failed or was cancelled shows "This run did not finish, so it recorded no result". Rarely, Flow can't read the result of a run that finished: the run shows Succeeded, and Result shows unavailable with the reason "The run completed, but its result could not be read. Contact support with this run's id." Its steps ran, so the emails it sent and the rows it wrote are in those systems. Without the result Flow can't tell whether the run carried on past failed items, which would have made it Partial: look in Execution Logs for steps marked Failed (continued).

Variables, beside Result, lists the values the run recorded. Flow saves them when a review pauses the run, every 30 seconds or so while they change, and when the run ends, so a failed or cancelled run has them too. Each loop over a list of known size has a row with its item count, how many items are done, and the values of the last 50 items. When the run's values pass 200,000 characters in all, each loop keeps its counts only, and the list says so. When Flow couldn't read the values at the end of the run, after retrying for about 40 minutes, the list holds the last values saved while the run went, and says so. A workflow prepared before Flow recorded these values shows none; prepare it again. A run that ended without saving any values says so.

Execution Logs​

Execution Logs lists the run's events, newest first, with the time and the step of each. Error rows are shaded red, and the step that failed shows its error message there. When the workflow reports that it carried on past failed items, the run ends as Partial; a run can also succeed with failed steps marked Failed (continued). A failed call's row starts "Failed" or "Tool call failed" and names the connector action. When the run carried on past that step, in a loop or outside one, the row also shows Failed (continued), and the top of the run's details counts them, for example "2 failed steps (continued)". The count follows the filter box above the logs. Unless the run ends as Succeeded or Partial, its most recent failure doesn't get the mark; an earlier failure gets it once a later step succeeds. A call cut off at its step time limit, 3 minutes or 16 for a website or terminal session, has no such row and isn't marked. A run's logs are deleted once the run has ended and its start is older than your organization's log retention period; after that, Execution Logs is empty. Logs covers the setting.

Recover from a failed run​

A failed run stays failed. Read the error in Execution Logs, fix the cause, and start a new run. To ask Flow Chat about this run, open the workflow's editor, paste the run's ID into the chat and ask why the run failed. This needs the Owner, Admin or Member role. Flow Chat reads the run's error and up to five steps that failed, and can propose a change to the spec; for what else it reads, see What Flow Chat reads. See Draft with Flow Chat.

A failed, partial or cancelled run can be started again from the beginning: Flow starts a new run in its place and marks the old one as started again. In the app, the new run uses the version the workflow runs now, which is its deployment's version for a deployment's run and the latest prepared version otherwise. It gets the old run's input values, even when the workflow's inputs changed since. A run started again through the API keeps the old run's version. Neither releases the old run's pipeline items, so release them first, as below, or the new run skips them.

Resume from failure and Re-run failed iterations refuse a run that was already started again from the beginning. They answer "This run was already started again as run X.", with the ID of the new run, and the resumability check reports the same reason. Follow the new run instead. Runs lists the recovery options the API offers.

If the failed run had claimed items from a pipeline, release them so the next run picks them up. Release covers every pipeline of the workflow: table rows, inbox threads and files.

  1. Select Release claims. Releasing needs the Owner, Admin or Member role, so a Viewer doesn't see it.
  2. To also return the inbox threads this run read, which are Staged, and the items it marked Success, tick Also release items this run already read or finished. The run may already have replied to them or written them, so the next run can do that a second time. Items the run marked as failed aren't released.
  3. Select Release claims.

The released items return to Available. Without the option, a thread the run read stays Staged. An item another run claimed in the meantime stays with that run. Once you confirm the release, this run can no longer be resumed, and its failed iterations can't be re-run, even when nothing was released: another run may already have taken its items. Run again still starts a new run. When an item is busy or its storage can't be reached, Flow shows Some claims were not released; select Release claims again. Items a run still held eight hours after claiming them are marked Failed and aren't released; reset those from their pipeline tab with Reset Status.