Approval Workflow / Helix Pharma Case study
One extra zero. Ten times the order.
Giving teams a chance to catch costly mistakes before stock requests become operational changes.
Read the storyThe real company name and certain product features are covered by an NDA. “Helix Pharma” is a fictional name, and selected features have been replaced with illustrative examples to protect confidential information.
Context & stakes
Sensitive actions in a pharma platform could go live without a second person checking them. A mistake here is a compliance problem, not just a bug.
Status Shipped
A closer look.
Why validation wasn’t enough
A valid number can still be the wrong number.
Imagine an operator intending to order 250 packs and entering 2,500. A positive whole number passes validation, but the system cannot know that the intention changed. The brief called for a review point before accidental inputs reached operational work.
The response was an approval layer inside the existing dashboard, covering stock orders, inventory adjustments, price changes, and batch releases. A proposed change and an applied change needed to become visibly different states.
The extra-zero scenario is illustrative, not a documented incident. People, products, and requests shown are demo data.
The boundary that changes everything
Separate submission from execution.
For an enabled operator workflow, submitting preserves the proposed values and creates a pending request without applying the business action. An eligible reviewer then decides whether it should proceed.
The gate is configurable by action. Open allows multiple requests, Locked permits one unresolved operator request, and Throttled limits submission frequency. A blocked submission explains the lock or cooldown instead of leaving the operator with an unexplained disabled button.
The specified workflow allows administrators to act directly through an audited auto-approval path. It is not universal two-person authorization.
Cutting the clutter
Put the work before the explanation.
The first screens tried to explain everything at once. Template cards came before workflow rows, request counts repeated across summary cards, and the new-request action appeared twice. The user’s request for less clutter exposed competing starting points.
The refinement brings rules and current requests forward. Template guidance, history, filters, and optional context open when needed. Consequential state stays visible: active filters still show their count, and blocked or failed work still explains itself.
Making review worth doing
Read the proposed change before the record.
The review drawer leads with the requester and proposed values. Submission time, template, and attempt details sit under Request context; the activity log has its own tab. Decision controls remain available at the bottom.
Authority and freshness are part of the interaction. A requester cannot review their own pending request, even after becoming an administrator. If the target changes while waiting, the reviewer must acknowledge the difference, and the engine rechecks the context before execution.
When approval isn’t the end
A decision and its execution are different events.
A reviewer can approve the right proposal and the action can still fail. The prototype labels execution failure explicitly, retains the error, and allows an eligible retry on the same request. A Locked workflow stays blocked while that work is unresolved.
Other outcomes preserve their own meaning. Rejection requires a reason; a revision becomes a linked new attempt. Cancellation withdraws a pending request, and a version check prevents an earlier open review from overriding the withdrawal.
- Refusal explains what is blocking submission.
- Rejection gives the requester something to revise.
- Execution failure keeps a visible route to recovery.
What’s proven, what’s next
Consistent rules, with human outcomes still to test.
Twenty-nine regression checks cover the workflow’s main transitions and exception paths. Browser walkthroughs checked forms, disclosures, configuration confirmation, review details, active filters, and the phone layout at 390 pixels.
Those checks establish software behavior, not whether staff understand the screens. The next meaningful step is a pilot with operators and reviewers: catch an excessive quantity, explain whether stock has changed, revise a rejection, and recover from failure. Success must include both fewer unintended changes and an acceptable review burden.
There is no production result. The opportunity model uses illustrative assumptions, counts review time as a cost, and may produce a negative result. It claims no measured financial, clinical, or patient-safety benefit.
There’s more to the story.
Explore the research, trade-offs, and interactive examples.
The decisions behind it
Three calls, and the options I turned down.
Goal: Catch costly mistakes before they become operational changes, without slowing everyday work.
- 01Strategic
Why submitting no longer means applying
“The system can check that 2,500 is a number. It can’t know you meant 250.”
Before: Stock orders, adjustments, price changes and batch releases took effect as soon as they were submitted.
Why: A proposed change and an applied change needed to become visibly different states.
Result: Gates are configurable per action (Open, Locked or Throttled), and a blocked submission says why.
- 02Tactical
Why the review drawer leads with the proposed values
“A reviewer who has to dig for the change will just approve it.”
Before: Request context, template and attempt details competed with the one thing being reviewed.
Why: Review only protects anything if the reviewer actually reads the change.
Result: Requesters can’t review their own requests, and stale targets must be acknowledged before approval.
- 03Tactical
Why ‘approved’ and ‘done’ are different states
“A reviewer can approve the right change and the action can still fail.”
Before: A single success state would hide execution failures behind a green tick.
Why: Every outcome (rejected, revised, cancelled, failed) should keep its own meaning.
Result: Rejection requires a reason, revisions link to the original as a new attempt, and version checks stop old reviews from overriding a withdrawal.
Small decisions, on purpose
Outcomes & limitations
What changed, and how sure we can be.
Limitations
- No user testing or adoption data has been supplied.
- Regression checks prove the rules hold, not that reviewers find them clear.
Still to confirm
- Reviewer feedback and time-to-approval before vs after
What I’d do next
- Test with real operators and reviewers: does review catch mistakes without becoming rubber-stamping?
- Measure how often requests are rejected or revised compared with approved.
What this taught me
- Safety comes from clear states, not extra friction.
- Users asking for ‘less clutter’ were really pointing at competing starting points.








