503, an external database briefly rejects connections, or an API rate-limit window resets in a few seconds. Retry policies let you tell fsckmsft exactly how to respond when a step fails — how many times to try again, how long to wait between attempts, and how long to keep extending that delay before giving up.
The default retry policy
Every workflow step comes with a sensible default retry policy out of the box. Unless you override it, fsckmsft applies:| Setting | Default value |
|---|---|
| Max retry attempts | 3 |
| Backoff strategy | Exponential |
| Initial delay | 1 second |
| Max delay | 60 seconds |
Backoff strategies explained
- Exponential (recommended)
- Linear
- Fixed
Each retry waits initial delay × 2^(attempt number) before firing. The delay grows quickly, giving downstream services time to recover from an overload. This is the recommended strategy for most external API calls.Example with 1 s initial delay: 1 s → 2 s → 4 s → 8 s → cap at max delay.
Configure a per-step retry policy
Click the step node you want to configure on the workflow canvas. The configuration panel slides open on the right.
Scroll to the Retry section (or click the Retry tab if it appears as a separate panel section). You’ll see the current policy with each field editable.
Enter a number between 0 (no retries — fail immediately) and 10. Higher values extend the total possible run time significantly, especially with exponential backoff.
Example configuration panel
After saving, the Retry section summarizes your policy in plain language:Disabling retries for non-idempotent steps
To disable retries for a step:- Open the step configuration panel.
- Navigate to Retry.
- Set Max Retry Attempts to
0. - Click Save.
Workflow-level retry defaults
You can change the default retry policy applied to all new steps added to a workflow, without reconfiguring each step individually.- Open the workflow editor.
- Click Settings (the gear icon).
- Under Default Retry Policy, update the fields.
- Click Save Settings.
FAQ
Do retries count against my workflow's actions-per-run limit?
Do retries count against my workflow's actions-per-run limit?
Yes. Each retry attempt is counted as one additional action toward the actions-per-run quota for that run. Factor in your maximum retry count when designing steps in workflows that are close to the actions-per-run ceiling.
Can I add a jitter to exponential backoff to avoid thundering herd problems?
Can I add a jitter to exponential backoff to avoid thundering herd problems?
Yes. In the Retry section, enable the Add jitter toggle. When jitter is on, fsckmsft randomizes the wait time by ±25% of the computed delay, which spreads out retries across multiple concurrent runs and reduces the chance that all retrying runs hammer a recovering service simultaneously.
What is the maximum total time a step can spend retrying?
What is the maximum total time a step can spend retrying?
With the maximum settings (10 retries, exponential backoff, 2-second initial delay, 3,600-second max delay), a step can spend up to approximately 9.8 hours across all retry attempts before permanently failing. Workflow runs remain active during retry waits and count as one run against your quota for the entire duration.