Sarah now focuses on configuring leave and holiday policies because time-off management directly affects employee experience, staffing visibility, attendance tracking, and payroll accuracy.
She defines leave categories, allocation rules, carry-forward behavior, and holiday calendars so employees clearly understand their entitlements while approvals, attendance, payroll, and reporting workflows remain consistent and automated.
Leave and holiday policies are configured successfully, allowing requests, balances, approvals, and attendance adjustments to work automatically across the organization.
| Failure | What the user sees | What happens next |
|---|---|---|
| Duplicate leave type name | "Leave type ... already exists in this company" | Use a unique leave type name |
| Zero or negative leave quota configured | Validation rejection | Enter a quota above zero |
| Delete leave type that already has leaves, balances or year settings | "Cannot delete leave type with existing leaves, balances, or year configs" | Keep the type; it cannot be deleted once used |
| Holiday end date before start date | "endDate must be on or after startDate" | Fix the dates |
| Holiday created, moved or deleted in a payroll-locked month | "Payroll for ... is locked" | Unlock the payroll period first |
| A holiday covers a working day (Weekend with office open) | The save is refused and names the clashing day | Move or delete the working day first |
| Recurring holiday overlaps with approved leave | Holiday days automatically excluded from leave calculation | System recalculates leave duration automatically |
| Scenario | Behavior | Why |
|---|---|---|
| Carry-over rule changed during the year | It applies when the year is closed (Operations > Leave > Leave Year Close) | Prevents retroactive balance inconsistencies |
| Unpaid leave type configured | Approved days are not paid in payroll | Supports unpaid absence management |
| Optional holiday provided by company policy | Employees pick their own optional holidays up to the yearly quota. When the quota is used up the app says so | Supports flexible holiday benefits |
| Holiday falls on a weekend | The weekend stays a weekend. To make a weekend a working day, add a holiday of type Weekend with office open | Keeps weekend and holiday pay rules separate |