Now in market Onboarding design partners across our 15 supported countries. Free implementation for the first cohort. Apply →
12-STATE ENGINE • COMPLIANCE GATES • ROSTER SYNC

Shift swaps that respect policy,
peer fairness, and payroll truth.

Not a simple swap request. A full state machine (ShiftSwapPage.tsx:13-49) with peer acceptance, manager approval, qualification checks, and hard compliance blocks that prevent illegal handoffs. Every approved swap flows directly into roster and time reconciliation.

Walk the state machine
CONSOLIDATED PERSONAS

My Swaps • Manager Review • Admin Control

Single engine, three surfaces. Employees propose, peers accept, managers approve, compliance blocks illegal patterns. All visible in one workspace.

COMPLIANCE BLOCKING

Hard stops before payroll

COMPLIANCE_BLOCKED state fires on expired permits, loan conflicts, OT caps, or qualification mismatches. No illegal swaps reach the ledger.

ROSTER + RECON INTEGRATION

Zero drift

Approved swaps immediately update the weekly roster and feed time reconciliation with clean data. Cite ShiftSwapControlPages + WeeklyRosterPage.

Interactive 12-State Machine Simulator

Click states to simulate flow. This is an illustrative example only — actual behavior in the Payrovia dashboard uses the real 12-state machine from ShiftSwapPage.tsx:13-49 (SwapStatus + statusConfig) with GraphQL-backed approvals and qualification gates.

CURRENT: PENDING_PEER
PENDING_PEER — Awaiting partner acceptance
REQUESTER_APPROVED — Partner accepted
MANAGER_APPROVED — Manager review passed
COMPLIANCE_BLOCKED — Hard stop (permit/OT/qualification)
APPROVED → COMPLETED — Posts to roster + reconciliation
Terminal states: REJECTED, CANCELLED, EXPIRED also supported. All transitions audited.
Illustrative demo only. Real engine enforces qualification + compliance before any ledger impact.

Related deep dives

Time ReconciliationRoster & SchedulingFlex ops layer