A manager receives a purchase request for $400. While the manager is reviewing it, the requester withdraws the request, changes the amount to $700 and submits it again.
The manager then returns to the approval screen and clicks Approve.
But which request did the manager approve: the original $400 request or the updated $700 request?
A green Approved label on the screen is not enough to answer that question. The system must ensure that the decision applies to the correct request version, follows the required approval stages and creates only the intended downstream action.
For SaaS products that manage procurement, IT requests, documents or business approvals, this is an important functional testing scenario.
A workflow can appear correct when each screen is tested independently but still fail when a request changes during review. The goal of this regression test is to verify that approval decisions remain connected to the correct revision.
1. Define the Approval Rules Before Testing
Before creating test cases, confirm what constitutes a completed approval.
For example:
- Does one manager's approval complete the request?
- Must every assigned reviewer approve it?
- Does the request move through sequential approval stages?
- Can a requester edit a request while it is pending?
- Does withdrawing and resubmitting create a new revision?
- What happens to an earlier approval after a request changes?
- Can an old email notification still trigger a decision?
These rules should come from the product's documented workflow, not assumptions made by the tester.
Microsoft Power Automate documents different approval patterns, including sequential and all-reviewer approvals. Atlassian also provides configurable approval steps and workflow transitions.
References:
- Microsoft: https://learn.microsoft.com/en-us/power-automate/get-started-approvals
- Atlassian: https://support.atlassian.com/jira-service-management-cloud/docs/add-an-approval-to-a-workflow/
These are examples of configurable approval patterns, not mandatory rules for every application.
2. Create a Revision-Bound Test Fixture
Use a staging environment with three fictional accounts:
- Alex — Requester
- Morgan — Manager
- Casey — Finance Reviewer
Create a fictional request with these details:
- Request ID: PR-101
- Revision: v1
- Amount: $400
- Initial status: Pending Manager
For this test fixture, define the following hypothetical business rules:
- Requests up to and including $500 require Morgan's approval.
- Requests above $500 require Morgan's approval followed by Casey's approval.
- Pending requests cannot be edited directly.
- The requester must withdraw a pending request before editing it.
- Resubmission creates a new revision.
- Earlier pending decisions cannot approve the new revision.
- Only final approval creates one downstream fulfilment task.
- A declined request creates no fulfilment task.
These rules are specific to this example. Adapt them to the actual product before testing.
First, submit the $400 request. Confirm that it appears as Pending Manager in the requester's view and Morgan's approval queue.
Casey should not have an actionable finance task because the request is below the defined threshold.
As a separate control test, approve v1 using Morgan's account. Verify that the request becomes Approved and exactly one test fulfilment task is created. Reset the test data before starting the next scenario.
3. Test an Approval Against an Older Revision
This is the main scenario.
Submit PR-101 v1 for $400 again. Open Morgan's approval page in one browser and leave it open.
In another browser, use Alex's account to withdraw the request. Change the amount from $400 to $700 and resubmit it as v2.
Now check the manager's approval queue. It should identify the current revision as v2, not v1.
Return to Morgan's previously opened v1 approval page and attempt the approval using the normal interface in the authorized staging environment.
Under the defined test rules, the old decision must not approve v2 or create a fulfilment task.
The application should explain that the request has changed or guide Morgan to review the latest version.
Refresh the relevant screens and verify the persisted request state. If the application supports email approval actions, test an old notification for v1 as well.
Record what actually happens. Do not assume how the application implements revision validation internally.
4. Verify the Manager-to-Finance Handoff
Next, test the correct approval sequence for the updated $700 request.
Morgan approves v2.
The expected status is Pending Finance, not final Approved.
Check the following:
- Casey receives an actionable review for PR-101 v2.
- The amount displayed to Casey is $700.
- Alex can see the intermediate approval status.
- No fulfilment task has been created yet.
Then use Casey's account to approve v2.
Verify that the request reaches its final Approved state and exactly one fulfilment task is created for PR-101 v2.
Also check the expected notifications. A notification being delivered does not automatically prove that the approval decision was saved correctly.
Agree on the expected notification content and update timing for the product being tested.
5. Test Decline, Resubmission and Boundary Values
Approval testing should also cover paths that do not end in approval.
Reset the test data and submit a new $700 request.
Let Morgan approve it, then let Casey decline it with a reason.
Under this fixture, the expected result is:
- Request status: Declined
- Decline reason: Visible to the requester
- Fulfilment tasks created: Zero
Now create a new revision, v3, with an amount of $450.
It should enter a fresh manager review. Morgan's earlier approval for v2 must not be reused for v3.
Since $450 is within the manager-only threshold, a finance approval should not be required under these hypothetical rules.
Also test the threshold using three separate clean cases:
- $499.99
- $500.00
- $500.01
The first two should follow the manager-only route. The last should follow the manager-then-finance route.
Additional negative checks should include a second click on Approve, reloading after a decision and reopening an old notification after the request is finalized.
Verify that repeated actions do not create duplicate fulfilment tasks.
6. Capture Evidence That Can Be Reproduced
A final Approved label alone is weak evidence. The tester should capture enough information to reconstruct the complete workflow.
Record:
- Application build and test environment.
- Request ID and revision number.
- Request amount and initial status.
- User role performing each action.
- Expected and actual results.
- Timestamps for important transitions.
- Notification details where applicable.
- Downstream fulfilment task IDs.
Use separate browser sessions for the requester, manager and finance reviewer. Keep test notifications sanitized and use fictional data.
Capture evidence before and after important transitions. For example, screenshots of Morgan's old v1 approval page and the updated v2 request help demonstrate whether the old decision was incorrectly accepted.
Use a clean test fixture for each scenario so previous approvals do not affect later results.
7. Make Workflow Correctness a Release Criterion
Prioritize defects according to their business impact.
Examples include:
- An old revision being approved after the request changes.
- A required finance review being skipped.
- A declined request creating a fulfilment task.
- Duplicate tasks being generated after repeated approval actions.
- A misleading status appearing before the decision is persisted.
After a fix, repeat the original scenario using the same fixture and then test a fresh request.
Document which roles, browsers, integrations and negative paths were not covered. These functional checks do not replace a security assessment, compliance certification or broader release testing.
Final Takeaway
An approval workflow is not correct simply because a manager can click Approve and see a green status label.
The decision must apply to the intended request revision, follow the configured reviewer sequence and produce the correct downstream result.
Testing the complete journey — from submission and revision to approval, decline and fulfilment — helps teams identify workflow defects before release.
Author affiliation: Testers HUB, an independent QA services provider. This article uses a fictional test scenario for engineering teams. No client outcome is claimed.