Draft, review, publish: change control for business logic
The rule that decides who approves a $40,000 order deserves at least the care we give a typo fix in code.
A one-character typo fix in a company’s code usually goes through a branch, a review and an automated test run before it reaches anyone. The rule that decides who approves a $40,000 order usually goes through a cell, a save, and a hope. Business logic deserves at least the care we give a typo, and it does not need a software team to get it.
Saved is not published#
The defining property of a spreadsheet is that saving is publishing. The moment you press save, the new discount rate applies to every order anyone calculates from that file. There is no “proposed” state, no preview of what would change, and no record of who changed it beyond a modified date.
That is fine for a model you are working out on your own. It stops being fine when other people act on the numbers. The fix is to separate three things that a spreadsheet fuses together: preparing a change, deciding on it, and applying it.
Preparing a change, deciding on it and applying it are three acts. A spreadsheet makes them one keystroke.
Four states a change moves through#
| State | What it means | Who can move it on |
|---|---|---|
| Draft | Edited freely. Nobody using the system sees it; the live version carries on. | Whoever has the right to configure that part of the system. |
| Checked | Validated against the model: every field it names exists, every action is allowed, and its effect on real records has been measured. | The system, automatically. A failed check says what is wrong in a sentence. |
| Published | The live version. Everything new is calculated by it. | A person with the right to publish. Never an automated assistant. |
| Kept | The version it replaced, preserved with who published its successor and when. | Nobody. It is history. |
Two refinements matter more as the stakes rise. The first is impact before approval: the person deciding should see which records the change would move, not only the change itself (counting the orders shows how). The second is a second pair of eyes, often called maker-checker: the person who drafts a change cannot be the one who publishes it.
What rollback really means#
“Can we roll it back?” is the first question after a bad change, and it hides three different questions. Being precise about which one you are asking avoids an unpleasant surprise.
- Restore the definition. Put the previous version of a screen, rule or process back as the live one. This is the easy kind, and it only needs the old version to have been kept.
- Re-apply a configuration. When configuration moves between environments, going back can mean re-applying the previous configuration. Note that this often does not remove things the newer configuration added; it restores what was there.
- Undo the effects. Orders approved under the wrong threshold, invoices issued with the wrong rate. No version control undoes those; they are business events, and correcting them is business work. This is the strongest argument for measuring impact before publishing.
In Tavuni today, screens can be restored to any earlier published version, configuration deployments can be rolled back through the API in the second sense, and workflow and data-model changes cannot be rolled back yet. The publishing page keeps that table current.
Where to start#
You do not need all of this on day one. Start with the rules that move money or approvals, and give them three things:
- A draft that does not go live on save. Even if “the draft” is a copy of the workbook with a clear name, edits stop touching live numbers.
- A list of what it changes. Run the old and new rule on the same records and attach the difference to the request.
- A name and a date on every published version. Who decided, when, and what it replaced.