A proposal is accepted but no task appears in the delivery app. Someone creates it manually. Later, the automation runs again and produces a duplicate. In this fictional incident, clearing the error is only part of recovery: the team also needs to know the resulting state and who owns it.
A temporary failure or a case needing a decision?
Microsoft describes bounded, appropriately delayed retries for transient failures. Repeating an action can produce unwanted side effects when it is not safe to execute more than once. A request may be processed even if its response never reaches the sender.Microsoft Azure Architecture Center
In a business process, waiting does not fill a missing required field. Unlimited retries do not restore a revoked permission either. The implementation needs separate rules for cases that can wait, cases that stop and cases that require review.
An alert should make the case actionable
- The case identifier and failed step, without unnecessary personal content
- The last confirmed result and what remains unknown
- The owner, backup and escalation channel
- The permitted next action: check, correct or restart under control
- Where resolution is recorded and the incident is closed
“Workflow failed” needs investigation before anyone can act. “Case TEST-042: task exists, notification unconfirmed; check delivery before restarting” points to a next step. This fictional alert must be adapted to what the actual systems can confirm.
Prepare the exception sheet before launch
| Situation | Takeover | Condition before restart |
|---|---|---|
| The app does not respond | Bounded attempts, then an assigned owner | Check the outcome in the destination app |
| A required deadline is missing | Pause the case for human completion | An authorised person confirms the deadline |
| The same event arrives again | Identify the existing case | Confirm that another task will not be created |
| Task exists, notification failed | Check the communication step | Repeat only the step supported by the implementation |
Restarting and undoing are different operations
For partially completed operations, Microsoft describes compensation: steps that address completed work according to business rules. This does not always restore the original state and can require human intervention.Microsoft Azure Architecture Center
In the task example, deleting the task might remove work a colleague added after the incident. Check subsequent changes before correcting it. The right response might be to mark a duplicate or continue the existing case; the rule depends on the application and process.
Choose a handover test
When to expand the workflow
Expand once both normal cases and tested exceptions have explainable outcomes. Keep the exception sheet with the workflow documentation and repeat relevant tests when an app, rule or owner changes. Closing an incident means checking the outcome, not merely reading an alert.
Sources and further reading
Retry limits, duplicate side effects and testing failure conditions
AccessedCompensation follows business rules and can require human intervention
AccessedFAQ
Can we restart the whole workflow if no confirmation arrived?
First check what was created or sent in the destination system. Missing confirmation can leave the outcome unknown; restarting may repeat a completed action.
Is an error email enough?
Only if it reaches someone who can identify and take ownership of the case. The handover also needs an escalation path, a backup owner and a way to confirm resolution.