Define your organization’s weekend boundaries for rules that reference idle weekends, such asDocumentation Index
Fetch the complete documentation index at: https://docs.solvice.io/llms.txt
Use this file to discover all available pages before exploring further.
WEEKENDS_IDLE counters.
Why Define Weekends?
Different industries and regions have varying definitions of “weekend”:- Standard: Friday evening to Sunday night
- Retail/Hospitality: Saturday morning to Monday morning
- Healthcare: 36-hour blocks with specific start times
Basic Weekend Definition
Set the weekend boundaries in theoptions.idleWeekend object:
A weekend is considered “idle” if the employee has no shifts during the entire defined window.
Weekend Properties
Day when the weekend starts:
MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAYTime when the weekend starts (HH:mm:ss format)
Day when the weekend ends
Time when the weekend ends (HH:mm:ss format)
Minimum consecutive idle time within the window to count as a free weekend
Common Weekend Configurations
- Standard
- Retail
- Healthcare
Friday 7 PM to Sunday 11 PM:
Using Weekend Rules
Once defined, use weekend constraints in rules:Each employee gets at least 2 completely free weekends in January.
Rest Time Requirement
UserestTime to require a minimum consecutive rest period within the weekend window: