Operational improvement
What Should Happen When a Workflow Automation Fails?
Before automating a recurring workflow, ask what should happen when the normal path breaks. A request can arrive twice, an approval can remain unanswered, or a destination system can save a record while the confirmation fails. A workflow that handles only the expected sequence leaves the team to reconstruct what happened.
The useful starting point is a short exception plan: a list of failure conditions, the safe response, the person accountable for recovery, and the evidence needed to resume. The framework below is a practical planning aid from ADH, not a software certification or a promise that every failure can be prevented.
1. Define what “complete” means outside the automation
Describe the business result before choosing triggers and connectors. “The flow ran” is different from “the request was accepted, assigned to an eligible owner, and acknowledged.” Name the record that proves each required step. Decide which system is authoritative when two systems disagree.
For a service request, completion might require a saved request ID and an assigned team. An email acknowledgment might be a separate delivery step. If the email fails, the existing request should remain visible for follow-up. Treating every step as one undifferentiated success or failure makes recovery harder.
2. Map five exception types
Review recent cases with the process owner and someone who will support the automation. Use this checklist to expose gaps:
- Missing or invalid input: required information is absent, inconsistent, or outside the allowed range. Identify what the requester must correct.
- No eligible decision maker: an owner has left, a delegate lacks authority, or no one responds. Define an authorized escalation route.
- Temporary system failure: an external system is unavailable. Decide when a limited retry is appropriate and when a person must intervene.
- Duplicate or uncertain completion: the same event arrives again, or a response is lost after a change may already have been saved. Verify the existing result before repeating the action.
- Partial completion: one action succeeds and a later action fails. Identify which step can safely resume and which actions require explicit review.
Do not collapse these conditions into “send an error email.” The notification is a signal; the exception still needs an owner and a resolution path.
3. Write a recovery rule for each exception
Use the following fields in an exception register. The operations improvement worksheet can help establish the underlying workflow first.
- Condition: what evidence identifies this exception?
- Immediate response: stop, request clarification, hold for review, or retry within a defined limit.
- Accountable owner: who investigates, and who covers their absence?
- Response expectation: when should someone acknowledge and review it? Choose timing appropriate to the work rather than inventing a universal deadline.
- Resume condition: what must be verified before work continues?
- Record: where are the original request ID, completed steps, action taken, and final disposition retained?
Keep notification content proportionate. A record reference and a link to the approved system may be more appropriate than copying sensitive request details into email. The people receiving alerts must have the access and authority needed to act.
4. Decide what may be retried
A temporary connection failure and a rejected approval require different responses. Microsoft’s Power Automate error-handling guidance documents alternative paths after failure or timeout, grouped error handling, retry policies for transient faults, and error notifications. Those are implementation mechanisms. The process owner still needs to specify the acceptable business behavior.
Before enabling retries, have the implementer explain what prevents a repeated action from creating another record, sending another message, or applying the same update twice. A stable request identifier and a check of the destination’s recorded state can be part of the design, but the control must match the system and be tested. A manual lookup followed by creation may still permit simultaneous duplicates.
When completion is uncertain, route to reconciliation rather than assuming nothing happened. Also avoid automatically reversing a completed business action merely because a later notification failed. Agree with the authorized owner whether correction, continuation, or another response is appropriate.
Illustrative example: equipment request intake
Consider a fictional team moving equipment requests from an inbox into a service system. The proposed automation validates the request, creates a record, assigns a team, and sends an acknowledgment. This is an example of planning decisions, not an ADH client result.
- If the location is missing, hold the submission for clarification and tell the requester which detail is needed.
- If the destination times out, check whether the request ID already exists before attempting record creation again.
- If the request exists but assignment fails, retain the record in a visible unassigned queue and notify the designated service coordinator.
- If acknowledgment fails after assignment, retain the assignment and queue only the acknowledgment for appropriate retry or review.
- If no coordinator acknowledges the exception within the team’s agreed coverage period, escalate to the named backup.
Each response has a clear stopping point. The team does not need to reconstruct the entire request every time one step fails.
5. Test recovery before expanding the pilot
Use approved test data and a controlled environment. Test a valid request, missing information, duplicate submission, unavailable owner, system timeout, and failure after a successful save. For each case, check both the business record and the notification. Confirm that someone can locate the exception, understand its status, and resume without repeating completed work.
Include a manual fallback and a way to pause new automated processing. Document who may activate them and how records created during the fallback will be reconciled when normal processing resumes. Keep existing approval and access controls in place throughout the pilot.
6. Review unresolved work, not just run counts
Track the age of unresolved exceptions, time to restore the intended business outcome, and repeat exceptions by cause. Keep these separate from technical retry counts. One request with several retries is still one business case. Use the KPI Definition Builder to document the population, timing rules, data source, and owner before comparing results.
If the same missing information repeatedly blocks requests, improve the intake. If routing repeatedly fails, review eligibility and ownership. More alerts alone will not resolve an unclear process.
Before your next automation goes live, bring the process owner and implementer together to answer one question: “If this stops halfway through, who can tell what happened and safely finish the work?” ADH’s IT workflow consulting and process improvement services can help define that operating model. For evaluating the resulting workflow, see how to tell whether an IT request process has improved.
