Automations

Runs and history

Follow what a workflow did, retry failed runs, cancel runs, and how long history is kept.

Every time a workflow starts, it creates a run. A run is about one file, uses one published version of the workflow, and records what each step did.

Finding runs

  • The Runs tab of a workflow lists its runs, newest first. Filter by Unfinished, Failed or Succeeded.
  • The Automations page shows each workflow's last run and how many runs failed recently.
  • After Run automation in Files, the toast links to the runs it started.

The run page

Opening a run shows each step's state, and each step's history: attempts, timing, the settings it ran with, its outputs and any log lines. Select a step to see only its history.

For an intake run, the page also shows what happened to the upload: Waiting for the run to save it, Saved (and by which step), In quarantine (and when it will be deleted), Discarded or Deleted from quarantine.

Run states

StateMeans
QueuedCreated, waiting for its first step or for a free slot.
RunningA step is working or about to.
RetryingA step failed and will try again shortly.
WaitingA Wait step is pausing the run. Nothing is held while it waits, even across restarts.
CancelingYou canceled it and the current step is stopping.
SucceededEvery step that ran succeeded.
Completed with errorsThe run finished, but a step failed and the run continued past it or took its error path.
FailedA step failed and stopped the run, or the run ran out of time.
CanceledCanceled by you, or because its file was trashed or deleted.

Steps are Pending, Ready, Running, Retrying, Waiting, Succeeded, Failed, Skipped (its branch wasn't taken) or Canceled.

Retrying

Each step retries on its own when something temporary goes wrong: a network or storage error, a timeout, a busy server. Most steps try up to 3 times with a growing delay. Problems retrying can't fix, such as a missing value, invalid settings or a deleted folder, fail at once.

When a whole run has failed, Retry on the run page starts it again:

  • It uses the same workflow version and the same trigger values.
  • Steps that already succeeded aren't run again; their outputs are reused. Steps that saved a file or made a link don't do it twice.
  • The failed step and everything after it run again.

Only failed runs can be retried, and only for 14 days after they fail. After that their working data is deleted. Test runs can't be retried.

Canceling

Cancel run stops a run that hasn't finished. A run that's waiting or queued stops at once. A step that's in the middle of its work is asked to stop and the run ends when it does.

Canceling never undoes what already happened: files saved, tags added, links created stay as they are. If an intake run is canceled before saving the upload, the upload goes to quarantine (or is discarded, with the Discard policy). It's never saved as received.

Time limits

  • An intake run has 1 hour from upload to finish.
  • A library run has 30 days, including time spent in Wait steps.
  • A single step has 2 minutes, unless the step allows longer.
  • A run can execute at most 200 steps.

How long history is kept

WhatKept for
History of succeeded runs and tests30 days
History of failed, canceled and completed-with-errors runs90 days
What a failed run needs to be retried14 days
Quarantined uploads30 days from first quarantine

How much history a workflow keeps is set in Workflow settings › Run history: Everything, Minimal (states, timing and error codes) or Details for failures. Outputs that can be sensitive, such as share link URLs, are shortened in history whatever you choose. These settings only change what you see; they never stop a failed run from being retried.

Files, tags and folders a run created are never removed when its history expires.

Workflows starting workflows

A change made by a workflow (a tag it added, a file it saved) can start other workflows, just like a change you make. To keep that from running away:

  • A workflow never starts from a change that it caused, directly or through other workflows.
  • A chain of workflows starting each other stops after 3 levels.

Files saved by an intake workflow can start library workflows, such as one that runs on File uploaded.