Skip to content

How RPA orchestration handles retries

A scheduled flow that reads invoices can encounter a timeout after the remote service has already processed a request. The operator sees a failed attempt, but the invoice service may already have recorded the change.

The core queues the step and assigns an attempt to an agent. The agent executes it in an isolated slot. The core records the outcome and accepts a result only from the attempt that owns the step. The flow’s retry policy determines whether a transient failure can trigger another attempt.

For a read-only invoice lookup, repeating the request may be acceptable. For a payment submission, first check whether the destination accepts an idempotency key. Use the same key for the same payment across attempts. If the destination provides a lookup by business reference, reconcile its state before resubmitting an uncertain payment.

Start with the read-only API example and inspect the run and attempt terminology.