In this article in The Rules Series, we show how to configure the rules engine to use the Within employee's standard hours condition.
How the Within employee’s standard hours condition works
The Within employee's standard hours condition matches the portion of shifts/timesheets that are within the standard hours definition for the employee.
For example, when the Within employee's standard hours condition is configured, the condition matches time on the timesheet within the hours on the employee’s pattern of standard hours, allowing us to use the inverse to find timesheet hours that are outside of the employee’s regular work pattern.
This might be useful for determining when an employee was asked to work later than usual, but the (additional) hours worked fall short of a consecutive hours or time of day threshold for attracting penalties.
Each timesheet is evaluated individually.
In this example, each an employee is rostered for their normal shift, but the shift has been moved one hour earlier, and extended by an additional extra hour to finish an hour after the original shift end time. The employee is paid overtime for the two hours worked outside their standard hours.
Navigate to edit the pay rule version, and expand the Rules
In the conditions section, select Within employee's standard hours
Configure the action you want to take for this condition.
Save your pay rule version.