Reference
Limits and errors
Default limits, the settings administrators can change, and what common error codes mean.
Workflow limits
| Limit | Default |
|---|---|
| Steps per workflow | 50 |
| Connections per workflow | 100 |
| Rules per Condition, cases per Switch, values per Set values | 20 |
| Steps executed per run | 200 |
| Runs of one workflow working at once | 4 (1 to 20, in Workflow settings) |
| Runs of all your workflows working at once | 20 |
| Unfinished runs per user, including waiting ones | 1,000 |
| Chain of workflows starting each other | 3 levels |
| Files per manual run | 100 |
| Time for one step | 2 minutes |
| Time for an intake run | 1 hour |
| Time for a library run | 30 days |
| Output of one step | 64 KiB |
| Rendered text template | 4 KiB |
| Working files per run | 10, totalling 4 times the received or loaded size (at least 64 MiB) |
| Image size for image steps | 100 megapixels |
Server settings
Administrators can change these under Tessra:Workflows in the server configuration, for example with the environment variable Tessra__Workflows__QuarantineRetention=14.00:00:00.
| Setting | Default | Controls |
|---|---|---|
MaxActiveRunsPerUser | 20 | Runs per user executing or due at once |
MaxOpenRunsPerUser | 1000 | Unfinished runs per user; beyond it, events start no new runs |
MaxChainDepth | 3 | How deep workflows may start each other |
IntakeExecutionLifetime | 1 hour | Time from upload to the end of an intake run |
LibraryExecutionLifetime | 30 days | Time for a library run, waits included |
RecoveryPeriod | 14 days | How long a failed run can be retried |
ExecutionDataRetention | 24 hours | Working data of runs that didn't fail |
SucceededHistoryRetention | 30 days | History of succeeded runs and tests |
FailedHistoryRetention | 90 days | History of failed, canceled and completed-with-errors runs |
QuarantineRetention | 30 days | Quarantined uploads, from first quarantine |
PendingServeWait | 20 seconds | How long raw links to a processing upload wait before 503 |
MaxWorkingFiles | 10 | Working files per run |
MaxWorkingBytesFactor | 4 | Working files' total, as a multiple of the received or loaded size |
MinWorkingBaselineBytes | 64 MiB | Smallest baseline for that multiple |
MaxStagingBytes | 10 GiB | Uploads in progress, working files and quarantine together |
MaxStagingBytesPerUser | 2 GiB | The same, per user |
MaxQuarantineBytesPerUser | 1 GiB | Quarantine per user |
MinFreeDiskPercent | 5 | Staging refuses new work below this much free disk |
LibraryClaimShare | 0.25 | Share of turns library runs get while intake is busy |
Errors when uploading
| Status and code | Means |
|---|---|
409 intake_unavailable | The token's assigned intake workflow is turned off, deleted, unpublished or needs an update. Nothing was stored. |
415 intake_rejected | The assigned workflow's trigger doesn't accept this file. Nothing was stored. |
507 storage_full | Staging space is full. |
507 quarantine_full | The workflow quarantines failures and your quarantine is full. |
503 file_processing | A raw link to an upload that's still being processed. Try again after Retry-After. |
Problems in the editor
| Code | Means |
|---|---|
step_unreachable | No path leads from the trigger to this step. Connect it or delete it. |
graph_cycle | Connections lead back to an earlier step. |
reference_not_ancestor | A value comes from a step that isn't before this one on every path. |
reference_conditional | A value comes from a step that might be skipped. An error for required settings, a warning otherwise. |
reference_type_mismatch | The value's type doesn't fit the setting. |
reference_unknown_step, reference_unknown_output | The value points at a step or output that no longer exists. |
template_invalid | The text template can't be read: an unknown filter or a broken placeholder. |
resource_unavailable | A folder, tag or token the step uses was deleted. |
primary_save_missing | An intake workflow has no Save file with Save as the upload. |
primary_save_conflict | Two Save file steps that save the upload could both run. Put them on different branches of one Condition or Switch. |
primary_not_allowed | Save as the upload is on in a library workflow. |
target_pending | A step changes or reads the run's file before the upload is saved. Move it after Save file. |
content_superseded | Warning. Save file reads content that an earlier step already changed. See Check what Save file reads. |
on_error_continue_not_allowed | Continue on failure isn't possible for a step with several outputs. Use Take the error path. |
node_version_unavailable | The step's version is no longer installed. The workflow needs an update. |
Errors in runs
| Code | Means |
|---|---|
input_missing | A required value wasn't there in this run, or a template used a missing value without default or optional. |
settings_invalid | The settings can't work together, such as Resize with neither max width nor max height. |
primary_not_saved | An intake run finished without saving the upload. |
unsupported_type | An image step got a file that isn't PNG, JPEG, WebP or GIF. |
image_invalid | The image couldn't be read, or the step couldn't produce a result. |
image_too_large | The image, or the result, is over 100 megapixels. |
working_limit | The run made too many or too large working files. |
staging_full | No room to stage working files right now. Retried automatically. |
resource_unavailable | A file, folder or tag was deleted or trashed while the run was going. |
regex_invalid, regex_timeout | A matches the pattern rule has a bad pattern, or took over 50 ms. |
step_limit | The run reached 200 steps. |
execution_expired | The run ran out of time. |
retry_data_expired | Retry isn't possible any more: the run's data or the received upload was deleted. |
reservation_changed | The quarantined upload was already retried, released or deleted elsewhere. |