Loop Failures and Partial Results
One failed item can cause the whole loop to fail. Inspect the error type before deciding whether to correct the input, retry an operation, or change the workflow.
Before you begin
Access to the parent run and the child run details.
Key concepts
Iteration
One repetition of the loop’s processing for an item. An iteration can have its own run result and failure.
Partial result
Output available before all requested work completes successfully. Do not report the entire task as successful unless the operation’s contract supports that interpretation.
Retry
A repeated attempt after a failed or uncertain operation. It can repeat external changes; use it only when the result is understood.
Fallback
An alternate response, model, or branch used under a configured failure condition. A fallback can produce a usable answer while the original operation still failed.
Side effect
A change outside the returned answer, such as creating a record or sending email. Cancellation or release rollback does not undo a completed side effect.
Handle a failed loop item
Open the loop error and identify the affected iteration.

On Error controls whether the node stops the workflow or follows a supported recovery path.
Inspect the child input, failing step, and provider response.
Correct the cause before rerunning. Check whether any external writes already completed.
The recovery addresses the failed operation without assuming that earlier work was reversed.
Behavior and limitations
A failed child execution can fail the Beta loop rather than return a successful batch with one item omitted. Some temporary failures are retried. Inspect completed child runs before restarting, because already completed provider operations are not reversed. Configure supported fallback handling deliberately rather than assuming failed items are skipped.
Related resources
Was this helpful?

