Examples
This section includes some practical examples of how employees are handled using this filter.
Example Configuration
The following examples use these configuration settings:
Minimum Age - Inclusive: 16
Maximum Age - Inclusive: 17
Each of these examples also use the Maximum Hours Per Day rule with the following configuration:
Hours: 4
Example 1 - Pass
Employee A is 17 years old and is scheduled to work 3 hours.
The filter passes this employee data to the Maximum Hours Per Day rule. Schedule compliance passes this rule as Employee A did not exceed 4 hours per day.
Example 2 - Not Passed
Employee B is 15 years old and is scheduled to work 3 hours.
The filter does not pass this employee to the Maximum Hours Per Day rule, so the hours are not validated.
Example 3 - Pass
It is Employee C’s 16th birthday. Employee C is now 16 years old and is scheduled to work 5 hours.
The filter passes this employee data to the Maximum Hours Per Day rule. Schedule compliance returns a violation because the scheduled hours exceeds the 4 hour limit.
Example 4 - Not Passed
It is Employee D’s 18th birthday. Employee D is now 18 years old and is scheduled to work 4 hours.
The filter does not pass this employee data to the Maximum Hours Per Day rule, so the hours are not validated.