An automation demo usually follows the cleanest case. The invoice has a purchase order number, the vendor exists in the accounting system, and the approval arrives on time. The production version must also know what to do when a supplier sends the same invoice twice or a system times out after accepting it.
Give each failure a different response
Start by reviewing real examples with the people who handle the work. A timeout and a missing purchase order both interrupt an invoice workflow, but they call for different responses.
- Temporary system failure: Retry after a delay, with a limit and a way to check whether the previous attempt succeeded.
- Missing or conflicting data: Create a review task with the source document and the fields that need attention.
- Policy exception: Assign the case to an authorized approver and record the decision before moving forward.
Keep the review queue actionable. Each item should show what happened, who owns the next step, and what the automation will do once the reviewer responds. A generic error message leaves staff doing the detective work the workflow was supposed to eliminate.
Make retries safe before you turn them on
A timeout does not tell you whether the destination completed the action. If the workflow posts an invoice and loses the response, an immediate retry could create a duplicate. Where supported, use a stable operation key for the same business event across retries. Otherwise, look up the existing result using a reliable business identifier before trying again, and send ambiguous cases to a reviewer.
Test the case explicitly: simulate a lost response after a successful write. Confirm that retrying does not create a second record and that the workflow can continue with the original result.
Measure what happens after launch
Track how many items go to review, how long they stay there, and whether they cluster around one vendor, file format, or system. A high exception rate can reveal a fix upstream, such as a missing required field on an intake form.
A dependable automation keeps routine work moving and gives people a clear way to recover when something unexpected happens. Write the recovery path before the rollout, and test it with the same care as the happy path.
SPD IT Solutions Team
Practical insight on software, AI, cloud, and delivery.


