You can configure a workflow run when starting it. The following are the options you can configure:
- Retries: The number of retry attempt Upstash Workflow does when a step fails in the workflow run
- Retry Delay: The delay strategy between retries when Upstash Workflow attempts retries.
- Flow Control: The rate, period and parallelism that steps should respect and logical grouping key to share with other workflow runs.
You can pass these configuration options when starting a workflow run:
The workflow run configuration does not apply to context.call() and context.invoke() steps.
These steps accept their own configuration options, allowing fine-grained control over external requests.
If not specified, they fall back to their default values.
For details, see:
A single context.run step can override the run’s flow control and retry configuration by passing
flowControl, retries or retryDelay as its third argument. See
step-level flow control.