Skip to main content
Language reference / retry

Meaning and placement

task

Retry policy for this task · { max_attempts, backoff_ms, backoff_strategy, backoff_max_ms, jitter, on_codes }. Retries run BEFORE on_error sees anything — the catch handles the last error only (spec/05-errors.md §Retry policy). In the same object: after · agent · exec · extract · for_each · group · infer · invoke · lift · on_error · returns · timeout · when · with Schema source (use the pointer above)

In a source template

Excerpt from templates/fanout.nika, source lines 115–124. This is a fragment, not a runnable workflow.
illustration

Templates containing this field

These are literal key occurrences in the source files, not an execution or conformance claim. How to instantiate a template.

Contract and implementation

This page projects the named specification revision. Check released engine status and the validation workflow before running a file. An optional field is not evidence that every engine supports every value. Canonical identity: language:word:retry. Spec revision: 5c40ba456c53. How documentation stays connected.