Separate the request, decision and action
An approval workflow should track what was requested, who accepted which version and what happened afterward. Store the decision before the downstream action and tie the action to a stable reference. This makes it possible to work out whether a failed call can be retried without repeating the business action.
Choose a concrete workflow for the design. For example, a customer service team may submit a credit adjustment. The reviewer needs the customer reference, amount, reason and related order. The person preparing the request needs to know who can approve it. The finance operator needs an accurate record of whether the adjustment was applied.
Define exactly what a reviewer is approving
Show the approver the amount, recipient, deadline and relevant attachments before asking for a decision. Keep approvals attached to that version of the request. If a material field changes after approval, return it to review under the updated version before running the action.
Write down who may approve, who may substitute when a person is absent, and what makes a request eligible for automatic processing. Keep the scope narrow enough to explain using examples. An invoice that exceeds an agreed threshold might go to an additional reviewer. A request with incomplete details should stay with the person who can correct it.
Check whether a retry would repeat the action
Create one stable reference for each approved action and reuse it on retries. Store the status and any downstream confirmation with that reference. If the downstream service supports idempotency, check what it deduplicates and how long a key is recognized. If it does not, look up the outcome using a reference or reconcile with the receiving system before trying again.
Treat an interrupted connection as an unknown result. The external system could have completed the work without returning a response. In that case, give the operator a way to verify the outcome. Record enough details to match the approved request with a bank, order or invoice record without exposing information to staff who do not need it.
Keep the original reference when you queue a retry. Giving the job a new reference can make an otherwise helpful deduplication check treat it as a separate action. If someone intentionally needs to submit another adjustment, record a new request and approval for that adjustment.
Test before allowing automatic retries
Run test cases for a duplicate submission, two approvers acting almost together, a timeout after a downstream success and an edited request that already has an approval. Confirm that the same reference does not apply the action twice and that stale decisions cannot authorize changed details. Include a rejected request and check that it never reaches the execution step.
Give operators a queue for requests needing review, failed executions and uncertain results. Put the next safe step in each case, such as correcting a field, checking downstream history or requesting another approval. Document who receives an alert and who can intervene. The workflow is ready when a colleague can explain each state and demonstrate what happens after a failure.