Examples
This section includes examples of shifts that violate or pass this schedule compliance rule.
Example Configuration
The following examples use this configuration setting:
Max Hours Allowed: 10
Example 1 - Violation (long shift)
Employee A is scheduled to work 4 shifts:
- Monday: 8:00 AM to 6:00 PM
- Tuesday: 8:00 AM to 6:00 PM
- Wednesday: 8:00 AM to 6:00 PM
- Thursday 8:00 AM to 8:00 PM
Schedule compliance returns a violation because the employee is scheduled 12 hours on Thursday.
Example 2 - Violation (sum of shifts)
Employee B is scheduled to work 6 shifts:
- Monday
- Shift 1- 8:00 AM to 2:00 PM
- Shift 2- 4:00 PM to 10:00 PM
- Tuesday
- Shift 1- 2:00 PM to 8:00 PM
- Shift 2- 10:00 PM to 2:00 AM
- Wednesday 2:00 PM to 8:00 PM
- Thursday 8:00 PM to 6:00 AM)
Schedule compliance returns a violation because the employee is scheduled 12 hours on Monday.
Example 3 - Violation
Employee C is scheduled to work 6 shifts:
- Monday
- Shift 1- 10:00 AM to 2:00 PM
- Shift 2- 4:00 PM to 10:00 PM
- Tuesday
- Shift 1- 2:00 PM to 8:00 PM
- Shift 2- 10:00 PM to 4:00 AM
- Wednesday 2:00 PM to 8:00 PM
- Thursday 8:00 PM to 6:00 AM).
Schedule compliance returns a violation as 12 hours are attributed to Tuesday because the second shift (10:00 PM to 4:00 AM) starts on Tuesday.
Example 4 - Pass
Employee C is scheduled to work 6 shifts:
- Monday
- Shift 1- 10:00 AM to 2:00 PM
- Shift 2- 4:00 PM to 10:00 PM
- Tuesday 10:00 PM to 8:00 AM
- Wednesday 2:00 PM to 8:00 PM
- Thursday 8:00 PM to 6:00 AM
Schedule compliance does not return a violation because the first 8 hours on Wednesday are attributed to Tuesday.