Swap rules: approve safe swaps instantly, send the rest to a person

Today every shift swap waits for a Location Manager. This prototype checks each swap against rules an Admin sets: is the colleague trained for the role, are their certificates valid, and will the swap push them past the weekly hours limit. Swaps that pass every check are approved on the spot.

Prototype for the Shiftwell case study. Staff, shifts and the replayed month are sample data, not customer data.

Rules for this customer

Set once by the Admin. Applies to every swap at every location.

Check a swap request

Pick a shift someone wants to give away and the colleague taking it.

Staff this week

StaffTrained forCertificates (expiry)Hours this week

Replay a month of swaps with these rules

Decision log

Every decision is recorded with its reason, so a compliance auditor can see why a swap was allowed.