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

  1. The case identifier and failed step, without unnecessary personal content
  2. The last confirmed result and what remains unknown
  3. The owner, backup and escalation channel
  4. The permitted next action: check, correct or restart under control
  5. 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

Example exception sheet: accepted proposal → task
SituationTakeoverCondition before restart
The app does not respondBounded attempts, then an assigned ownerCheck the outcome in the destination app
A required deadline is missingPause the case for human completionAn authorised person confirms the deadline
The same event arrives againIdentify the existing caseConfirm that another task will not be created
Task exists, notification failedCheck the communication stepRepeat 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

What is missing from the current workflow?

Choose an observable gap. Run proposed tests with fictional data and approval from the process owner.

Your choice stays on this page and clears on reload

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

Microsoft Azure Architecture Center: Retrying transient failures

Retry limits, duplicate side effects and testing failure conditions

Accessed
Microsoft Azure Architecture Center: Correcting partially completed operations

Compensation follows business rules and can require human intervention

Accessed

FAQ

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.

The process must also handle exceptions

Process consulting defines rules, responsibilities and operating limits before automation expands.

Discuss process automationView service