Break Management
Breaks are essential for driver safety, legal compliance, and operational efficiency. This guide covers how to configure various break types, locations, and timing constraints in your routing optimization.Break Configuration Basics
Breaks are defined within resource shifts:Break Types
Windowed Breaks
Can occur flexibly within a time window:Flexible Windowed Breaks
Flexible timing within a wider window:Drive Breaks
Reset continuous driving time:Duty Breaks
Trigger a break after cumulative work time — the combined total of driving time and service time. Unlike drive breaks which only count time behind the wheel, duty breaks account for all active work performed by the resource.Work time calculation: Work time includes driving time and service time (job durations). It does not include waiting time from time windows, break time, or synchronization delays.
Unavailability Breaks
Mark resource as unavailable:Break Locations
Location Options
- Any Location
- Specific Location
Location Impact:
ANY: No travel time, taken at current location- Specific location: Travel time to break location
Deducting Previous Breaks
When a shift includes multiple breaks, you can usedeductPreviousBreaks to reduce a break’s effective duration by the total time already spent on earlier breaks. This is useful when regulations require a total rest period that can be split across multiple shorter breaks throughout the shift.
deductPreviousBreaks is true, the 15-minute windowed break taken earlier is subtracted, resulting in an effective duty break of only 30 minutes.
How deduction works: When
deductPreviousBreaks is true, the effective break duration is calculated as:effective duration = max(0, break duration − sum of all prior break durations)If prior breaks already meet or exceed the configured duration, the effective duration becomes zero — the break is still tracked but adds no extra idle time.deductPreviousBreaks option is available on all trigger-based break types:
| Break type | Field | Default |
|---|---|---|
WINDOWED | deductPreviousBreaks | false |
DRIVE | deductPreviousBreaks | false |
DUTY | deductPreviousBreaks | false |
Break Timing Constraints
Break Before Finish
Ensure breaks complete before shift end:Multiple Breaks Example
Integration with Resumable Jobs
Breaks can interrupt long service jobs:Result: Installation runs 8:00-12:00 (4 hours), break 12:00-13:00, resumes 13:00 to completion
Complex Break Scenarios
Legal Compliance Example
EU driving regulations with both drive and duty breaks:Field Service with Breaks
Best Practices
Break Impact on Routes
The solver automatically:- Schedules breaks within allowed windows
- Triggers duty breaks when cumulative work time exceeds the threshold
- Triggers drive breaks when cumulative driving time exceeds the threshold
- Adds travel time for depot/specific location breaks
- Splits resumable jobs around breaks
- Ensures breaks don’t violate time windows
- Optimizes break placement to minimize disruption
Performance Considerations
Break Complexity Impact
Break Complexity Impact
Low Impact:
- Single break per shift
- “ANY” location breaks
- Wide time windows
- Multiple breaks per shift
- Depot return requirements
- Moderate time windows
- Many fixed-time breaks
- Specific break locations
- Tight break windows
- Multiple driving and duty breaks combined
Troubleshooting
Breaks Not Scheduled
Breaks Not Scheduled
Causes:
- Break window too restrictive
- Insufficient time in shift
- Travel time to break location too long
- Widen break windows
- Use “ANY” location when possible
- Verify shift duration accommodates all breaks
Inefficient Break Placement
Inefficient Break Placement
Causes:
- Fixed breaks at suboptimal times
- Depot breaks causing excessive travel
- Use windowed breaks for flexibility
- Consider multiple smaller breaks
- Place depot breaks strategically
Jobs Interrupted by Breaks
Jobs Interrupted by Breaks
Causes:
- Non-resumable jobs conflicting with breaks
- Poor break window alignment
- Make long jobs resumable
- Adjust break windows
- Use job relations to control scheduling
Related Features
Shift Management
Configure shifts and working hours
Resumable Jobs
Jobs that can be paused for breaks
Drive Time Limits
Legal driving time restrictions
Time Windows
Coordinate breaks with job timing