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 Workflows page shows each workflow's last run and how many runs failed recently. Click the failure count to open the workflow's runs filtered to Failed.
- 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
| State | Means |
|---|---|
| Queued | Created, waiting for its first step or for a free slot. |
| Running | A step is working or about to. |
| Retrying | A step failed and will try again shortly. |
| Waiting | A Wait step is pausing the run, or a step is waiting for a connection's usage limit. Nothing is held while it waits, even across restarts. |
| Needs attention | A step needs you to confirm what happened before the run can go on. See Steps that need confirmation. |
| Canceling | You canceled it and the current step is stopping. |
| Succeeded | Every step that ran succeeded. |
| Completed with errors | The run finished, but a step failed and the run continued past it or took its error path. |
| Failed | A step failed and stopped the run, or the run ran out of time. |
| Canceled | Canceled by you, or because its file was trashed or deleted. |
Steps are Pending, Ready, Running, Retrying, Waiting, Needs confirmation, 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.
Steps that change something outside Tessra, such as Send webhook and Send notification, are more careful. A failure that happens before any of the request was sent, such as an address that can't be reached, is retried as usual. But once a step started sending, Tessra can't know whether the service acted unless the service says so in a way its connection understands. A timeout, a dropped connection, an error answer, or an answer that was too large or unreadable all leave it open whether the message arrived. Those steps aren't retried automatically, so nothing is sent twice. The step waits for you instead. The exception is a webhook whose receiver ignores repeated deliveries; see Repeated deliveries.
When a service asks Tessra to slow down, or a connection reaches its usage limit, the step waits and continues later. Waiting doesn't use up an attempt. Tessra always waits at least 2 seconds before trying again, and at most an hour when a service asks for longer.
Steps that need confirmation
When a step is Needs confirmation, the run page asks Did it go through? Check the service (did the message appear in the channel?), then choose:
- Send again: the step runs again from its first attempt.
- It went through: the step counts as succeeded and the run continues. Its outputs are empty, so later steps that use them get no value.
- Fail the step: the step fails and the run follows the step's If this step fails setting.
The run stays at Needs attention until you choose or cancel it.
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.
- Each attempt of a step has a time limit: 2 minutes for most steps, 1 minute for Send notification and Send webhook, and 8 minutes for the AI steps. The step reference lists each one.
- A run can execute at most 200 steps.
How long history is kept
| What | Kept for |
|---|---|
| History of succeeded runs and tests | 30 days |
| History of failed, canceled and completed-with-errors runs | 90 days |
| What a failed run needs to be retried | 14 days |
| Quarantined uploads | 30 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.