Building Shift Scheduling with Working-Hour Compliance

A 600-person operation rostered on spreadsheets and settled disputes from memory. The rules existed; nothing enforced them until payroll found the breach a month later.

Client withheld under NDA. The sector, the shape of the engagement and the constraints are described; no client data, screens, names or volumes are reproduced.

Snapshot
Client
Integrated resort, Macao
Sector
Hospitality operations
Engagement
Rules engine, rostering build, compliance reporting, rollout
Scope
Shift patterns · demand forecast · rule checks · swaps · payroll export · compliance register
Duration
20 weeks
Status
Live; weekly roster replaces the spreadsheet
600
staff on one roster, across five departments.
14
rules checked before a roster can be published.
0
rosters published with a known breach.
6
weeks of history kept for audit and dispute resolution.

Problem

Rostering is a constraint problem disguised as a spreadsheet. Rest periods, consecutive days, minor-hours limits, skill coverage and the forecast all interact, and a human fitting them by hand will always solve the visible ones and miss the rest.

The cost appears later and elsewhere: a payroll exception, a complaint, or an inspection. Because nothing checked at the point of publishing, the organisation only learned about breaches when it was too late to change the roster that caused them.

Figure 1 — From demand to a published roster that has already passed the rules

walk orderForecastby hour, by skillfrom history, not opinion1Draftpatterns and preferencesgenerated, then edited2Checkfourteen rulesblocking, with reasons3Publishwith acknowledgementsstaff confirm on a phone4Exportto payrollone file, one versionThe check runs before publish, not after. A roster that cannot be published is a roster somebody fixes while there is still timeto fix it.

Approach

We wrote the rules down first, with the people who had been enforcing them by memory. Fourteen rules, each one a sentence and a test, with a distinction between blocking and warning — because treating everything as blocking produces a roster nobody can publish.

Forecasting came second and stayed deliberately simple: a weekly profile per department with a manual override, rather than a model nobody would trust. The gain came from the constraint checking and the swaps, not from prediction.

Figure 2 — The rules, and what happens when one fails

BlockingWarningAudit recordRest between shiftsConsecutive daysMinor hoursSkill coverageSwap approvalyeskeptyeskeptyeskeptflaggedkeptif rule brokenloggedkeptHours rules block. Coverage rules warn. Everything is recorded, because a dispute is settled by the record and not by recollection.

What the staff actually wanted

Swaps. The compliance work was the reason the project was funded; the reason it was adopted was that two people can now exchange a shift on a phone and get an answer in minutes, instead of a form, a manager and a week.

Swaps also run the checks. A swap that would break a rest period is refused at the point of request, which is the only moment when the answer is still useful to the people involved.

What we delivered

Rules
Fourteen, written down
Each rule a sentence and a test, classified as blocking or warning with an owner.
Forecast
Hourly demand by skill
A weekly profile per department with a manual override, reviewed monthly.
Roster
Generated, then edited
A draft built from patterns and preferences, edited by the manager with checks live.
Swaps
Staff-initiated
Request, accept, check, approve; the compliance check runs before a manager ever sees it.
Publish
Acknowledgement required
Staff confirm on a phone; unconfirmed shifts surface on a manager list.
Compliance
Register and export
Every check result kept for six weeks, exportable for audit and payroll.

What it changed

No roster has been published with a known breach since go-live, which was the funding condition. The disputes that remain are about preference rather than about hours, which is a different and much cheaper conversation.

The six-week record also changed the tone of inspections. The organisation can show what it checked and when, instead of reconstructing a month from memory.

CONTACT US

We provide a custom made service for just drop us a line.
We would be glad to have feedback from you.