Which Version of a Business Rule Applies at the Changeover Time?

A team changes its intake-routing rule at midnight. A request was submitted before midnight, processed afterward and retried the next morning. Which rule should govern it?
There is no universal answer. The workflow needs an explicit governing event and a versioned rule period. Otherwise the same request can receive different treatment depending on when a worker happens to run.
Choose the event that determines applicability
Possible choices include submission time, acceptance time, processing time or another documented business event. Select the event that matches the intended policy and communicate it to the people affected.
Do not substitute a convenient database timestamp without checking its meaning. A record's last-modified time may change for reasons unrelated to the rule's applicability.
This guide concerns operational routing rules. Legal, contractual or regulated effective dates require current, specific authority and should not be inferred from this general pattern.
Define the interval boundaries
The PostgreSQL range documentation explains inclusive and exclusive bounds and how ranges represent periods of values. These concepts are useful beyond a particular database: an event at the exact boundary must belong to the intended period.
A common planning convention includes the start instant and excludes the end instant. Two adjacent periods can then share a boundary without both claiming the same event.
Document the timezone and precision. A date-only label such as effective Monday may be insufficient for a workflow running across regions.
Work through an illustrative routing change
Rule A handles submissions before a stated UTC instant. Rule B handles submissions at or after that instant. The governing event is the original accepted submission time.
A request accepted one second before the boundary uses Rule A even if background processing begins later. A request accepted exactly at the boundary uses Rule B.
A retry preserves the governing event and applied rule version unless an explicitly authorized re-evaluation policy says otherwise. This avoids changing the case merely because a technical retry happened later.
Detect gaps and overlaps before activation
For each relevant case category, verify that the intended timeline has the required coverage. A gap leaves no rule applicable; an overlap can make more than one rule eligible.
Decide whether either condition is ever intentional. If precedence exists, state it explicitly and test it. Do not let database row order determine which rule wins.
Check cases immediately before, exactly at and immediately after each boundary. Include missing or invalid event times and decide whether they require review rather than a guessed rule.
Preserve the rule used for each decision
Record the rule identifier, version, governing event and decision outcome. Keep enough historical rule content to explain the result later.
If a rule is corrected, distinguish correcting future behavior from revisiting past decisions. A retroactive correction may require a separate authorized process and a clear record of what changed.
The configuration-drift guide helps compare intended and actual settings. Effective dating adds the question of which intended setting belonged to a particular moment.
Plan for cases already in progress
List open cases at the changeover and decide whether they continue under their original rule, move at a specified stage or require individual review. Explain any user-visible effect.
A new routing rule should not strand a case between queues. Verify ownership after transition and retain a route for exceptions.
For a reversible rollout, preserve the previous rule and a documented rollback boundary. Rolling back configuration does not automatically undo decisions already made under the new version.
Review the policy in plain language
Ask an operator to classify three sample cases using only the written rule: one before the boundary, one at it and one retried afterward. Compare their answer with the implementation.
If the answers differ, resolve the policy before activation. A versioned rule system is useful only when its timestamps and boundaries reflect a decision the business actually intended. The goal is consistent treatment that can be explained later, including at the exact moment a rule changes.
Explore FutureOS
For the project's published context, read Getting started with FutureOS. Its introduction describes FutureOS as being in prelaunch. This guide presents general planning practices, not a claim that FutureOS currently provides the workflow described here.
Prepared with AI assistance. Sources checked on October 22, 2026. Examples identified as illustrative are not customer results; no independent editorial review is claimed.



Comments