Picture twelve returned lamps arriving at a warehouse. A spreadsheet has one convenient field called “returns received.” Someone adds twelve to stock available for the next order.
In this fictional example, nine lamps have passed the warehouse’s existing inspection. Two are still waiting to be checked. One has been marked unusable. The warehouse has received twelve. It has cleared nine for sale.
The useful count for ready stock is nine.
A workflow can lose this distinction without making an arithmetic error. It copies a correct receipt quantity into a field that answers a different question. The number survives. Its meaning changes.
Keep two events separate
Write the example as a short reconciliation:
Received: 12.
Cleared for sale: 9.
Awaiting inspection: 2.
Unusable: 1.
Check: 9 + 2 + 1 = 12.
The counts are invented to expose the decision hidden inside a stock update.
For the two waiting lamps, a useful record says who owns the inspection and where its result will be recorded. It does not predict that they will pass. For the unusable lamp, the disposition belongs in its own status rather than disappearing from the receipt count.
For a small automation rehearsal, inspect whether the workflow preserves the status as faithfully as the quantity. An automatic summary that says “twelve received, nine cleared” gives the next person a more usable picture than one broad “twelve available.”
Give the transition evidence
Before a record moves from awaiting inspection to cleared, the workflow needs the evidence required by the warehouse’s existing process. The lesson is to preserve that decision, not to invent a new inspection policy.
A useful rehearsal includes a lamp still awaiting a result. Its expected output stays pending. If the workflow promotes it simply because the receipt row exists, the rehearsal has found a specific failure to fix.
Our Shopify essay follows another status handoff: a classified ticket still needs someone to finish the job.
Take one existing returns record and trace where its receipt quantity becomes a ready-stock quantity. Keep the inspection status visible at that handoff. Review whether somebody can explain the change without guessing what happened between the two fields.
The Rebuild Editorial


