Examples

This section includes examples of shifts that violate or pass this schedule compliance rule.

Example Configuration

The following examples use these configuration settings:

Min Invalid Hours: 40

Max Invalid Hours: 44

Example 1 - Pass

Employee A is scheduled to work 40 hours:

  • Monday 8:00 AM - 4:00 PM
  • Tuesday 8:00 AM - 4:00 PM
  • Wednesday 8:00 AM - 4:00 PM
  • Thursday 8:00 AM - 4:00 PM
  • Friday 8:00 AM - 4:00 PM

Schedule compliance does not return a violation because the total scheduled hours are lower than the Minimum Hours for the range (40).

Example 2 - Pass

Employee B is scheduled to work 45 hours:

  • Sunday 9:00 AM - 2:00 PM
  • Monday 8:00 AM - 6:00 PM
  • Tuesday 8:00 AM - 4:00 PM
  • Wednesday 8:00 AM - 4:00 PM
  • Thursday 8:00 AM - 4:00 PM
  • Friday 8:00 AM - 4:00 PM

Schedule compliance does not return a violation because the scheduled hours total 45, which is higher than the Maximum Hours value for the range.

Example 3 - Violate

Employee C is scheduled to work 42 hours this week (Saturday's shift is not included as the shift occurs in the previous week):

  • Saturday 6:00 AM to 12:00 PM
  • Monday 8:00 AM - 6:00 PM
  • Tuesday 8:00 AM - 4:00 PM
  • Wednesday 8:00 AM - 4:00 PM
  • Thursday 8:00 AM - 4:00 PM
  • Friday 8:00 AM - 4:00 PM

Schedule compliance returns a violation because 42 hours are within the defined range.