Back to all posts
AI Operations7 min read·November 1, 2026

What Should ERP Workflows Do When an AI Provider Is Down?

TB
ThynkBlox AI Team
AI Engineering

What should ERP workflows do when an AI provider is down?

An AI provider outage fallback for ERP workflows should define three paths before an incident: continue steps that remain safe, hold steps that need the unavailable service, and route urgent work to an authorised person. Bound retries, preserve pending work, and give queued items an expiry rule. Use a backup model only after separate validation, then check business state before restarting any interrupted action.

The aim is to keep useful work moving without treating an unavailable AI step as permission to skip a business control.

Which steps can continue, wait, or move to a person?

Classify individual steps, rather than assigning one fallback to an entire workflow. Ask what each step needs, what it changes, and whether its inputs remain valid.

Workflow stepOutage pathCondition for using that path
Receive and store a documentContinueReceipt and storage work independently of the affected provider
Check required fields or duplicate referencesContinueApproved rules and required records remain available
Extract fields using the unavailable modelWaitPreserve the document and create a visible pending item
Approve a payment or record changeWait or manualAn authorised person can inspect the required evidence
Post an already approved transactionContinue conditionallyApproval is still valid, checks pass, and prior completion is ruled out
Handle an urgent customer requestManualA named owner can complete the task within existing permissions

Do not let a failed check default to “passed”. If the AI step supplies evidence needed for approval, downstream actions must wait until that evidence is available or a person completes the approved alternative.

Use AI or rules for workflow steps to separate model-dependent work from checks that can run independently.

How should retries be bounded?

Give each model-dependent step a retry policy with an attempt limit, a total waiting limit, and a defined destination when either limit is reached.

Retry only errors classified as temporary. Route invalid requests, access failures and rejected inputs to their own handling paths. Waiting repeatedly should not be the response to a request that needs correction.

Space retries apart and vary their timing so queued work does not all retry together. Honour the provider's retry guidance where available. Count attempts across restarts and worker changes; restarting a worker must not reset the item's allowance.

When the limit is reached, stop automatic attempts and mark the item as waiting or needing review. Record the reason and next action.

Keep model retries separate from ERP write retries. If a posting request times out, first check whether the transaction exists. Repeating the whole workflow without that check leaves its completion unresolved. See preventing duplicate ERP transactions for the controls to place around writes.

What should queue expiry mean?

Queue expiry should end permission to act automatically. It should not erase the business request.

Set the waiting limit according to the decision being made. A draft description may tolerate a longer delay than a stock allocation or a quote based on changing availability.

Define these outcomes for each queue:

  • Still valid: resume after checking current records and outstanding approvals.
  • Needs refreshing: retrieve current inputs and repeat the affected checks.
  • Needs a person: assign an owner with a deadline and the original evidence.
  • Cancelled: retain the cancellation reason and close the item visibly.

Distinguish expiry of a retry allowance from expiry of business authority. An item may have exhausted its retries while the underlying request remains valid. Conversely, a service may recover after the request's approval or useful lifetime has ended.

Make expired and overdue items visible to an owner. Designing an AI workflow exception queue covers how to make that handoff actionable.

What must be preserved for pending work?

Save enough information to explain the interruption and resume from a known point.

For each pending item, retain:

  • The business request identifier and source reference.
  • The last completed step and the next permitted action.
  • Validated intermediate results and their supporting evidence.
  • Approval scope, status and any expiry condition.
  • Attempt count, failure category and retry eligibility.
  • Any ERP action identifier and its confirmed or unresolved outcome.
  • The responsible owner and the item's business deadline.

Preserve required source material under the agreed access and retention rules. Avoid copying sensitive documents into diagnostic records merely to make troubleshooting easier.

Show users a meaningful status such as “Received, awaiting document extraction”. Distinguish waiting, failed, expired and completed work. Receipt of a document should not appear as completion of its ERP processing.

Design the saved state so recovery can repeat necessary checks without repeating confirmed actions.

When should work move to a manual path?

Use a manual path when delay would breach the workflow's agreed service commitment and a person can complete the required checks.

Define who may take ownership, what evidence they must inspect, which actions they may perform, and how completion is recorded. Preserve existing approval and access limits during the outage.

Taking an item manually should prevent automatic processing from acting on it at the same time. Record the resulting ERP reference before releasing or closing the item. If automation resumes later, it must recognise the manual outcome.

For example, a reviewer could enter an urgent supplier invoice from its source document, complete the usual checks, and record the posted reference against the pending item. Once resolved, that item should leave the extraction queue.

Plan review capacity as well as ownership. Give reviewers priority rules for urgent work and a clear response when demand exceeds capacity.

Can a backup model take over automatically?

Only if it has been separately validated for that workflow and approved for the data it will receive.

A matching interface does not establish that the backup meets the same business acceptance criteria. Test it against representative documents, difficult inputs, missing evidence, required output fields and permitted actions.

Check that the backup:

  • Meets the workflow's acceptance criteria on expected outputs.
  • Rejects unsupported conclusions and incomplete inputs appropriately.
  • Works with the same validation and approval controls.
  • Meets the required data handling, retention and location conditions.
  • Has defined capacity, spending limits and failure handling.

Keep approval specific to the tested step. Approval for drafting a description should not imply approval for extracting payment details.

If validation is incomplete, hold work or use the approved manual path. Validating model updates in AI automation provides a related framework for evaluating a model change.

What should recovery checks include?

Treat recovery as a controlled restart. A successful model request is one signal, not permission to release every pending item.

Start with a limited batch. Confirm that outputs pass validation and that downstream records reflect the intended actions before increasing processing.

For each interrupted item, check:

  • Has a person already completed or cancelled it?
  • Did an earlier ERP request succeed despite an uncertain response?
  • Have relevant records, permissions or approvals changed?
  • Has the item expired or become unnecessary?
  • Which checks need repeating before the next action?

Reconcile queue outcomes against ERP outcomes. Account for completed, waiting, manually handled, cancelled and unresolved items. Investigate missing outcomes before calling the backlog cleared.

For a longer interruption, use resuming long-running AI tasks to decide where work can safely restart.

What mistakes should the outage plan prevent?

Retrying forever. Set an end to automatic attempts and assign ownership when it arrives.

Skipping unavailable checks. Preserve approval requirements even when processing slows.

Deleting expired work. Close or reroute the request with an explanation.

Switching models without validation. Treat each backup as a separate candidate for approval.

Restarting every item from the beginning. Reconcile prior actions and resume from recorded state.

Calling recovery complete when requests succeed. Check that the business work reached a known outcome.

What are the common questions?

Should the whole ERP workflow stop?

Stop steps that depend on unavailable evidence or controls. Continue independent steps only where their inputs, permissions and checks remain valid.

How long should work remain queued?

Set a limit for each workflow based on urgency, input freshness and approval validity. Define what happens at that limit before an outage occurs.

Is a manual fallback enough?

It needs named owners, sufficient capacity, required evidence and a way to prevent competing automatic actions. An instruction to “handle it manually” leaves those decisions unresolved.

When is the incident finished?

Close it when affected work has a recorded outcome, unresolved items have owners, and recovery checks confirm that processing can continue safely.

Ready when you are

Want to talk this through for your business?

Send us the process you are thinking about. You will hear back from an engineer, not a sales team.