Skip to content
Astera Technology

Apply a cancellation cutoff at the exact boundary

Decide eligibility from a recorded request instant and an explicit inclusive or exclusive rule.

Specify the comparison before reviewing requests

Synthetic policy: cancellation requests received before 18:00 return one reserved session. Requests at or after 18:00 consume it. The booking starts at 20:00. Use the recorded receipt time, not when staff open the request; this example concerns session entitlement only, with no money-refund rule.

Synthetic cutoff decisions
RequestReceivedComparisonOutcome
C-1117:59:59Before 18:00Cancel; return 1 session
C-1218:00:00At cutoffCancel; consume 1 session
C-1318:00:01After cutoffCancel; consume 1 session
Download editable CSV ↓

Decide cancellation and entitlement separately

  1. Read the booking start, policy version and request receipt time.
  2. Compare receipt against 18:00 using the strict before rule.
  3. Cancel the booking, release its place and record the one-session outcome.

Missing or conflicting receipt evidence requires review; a staff processing delay cannot justify changing the boundary.

C-11 is processed at 18:05. Does it lose the returned session?

Show the worked answer

No. Its 17:59:59 receipt meets the rule, so one session returns. C-12 does not qualify because equality is excluded.

Show the cancellation result and session effect together so a cancelled booking is not mistaken for an automatic credit return.

Related resources