The overlaps script is triggered if an in AND out punch both fall within the range set by the 2 overlaps times used.
To define what this range means in context we will use an overlaps script below with the times of 6:00am and 9:00am.
If (overlaps (6:00am,9:00am)) { category = “Example”; }
For this script to be applied there must be a punch that crossed 6:00am as well as 9:00am. For example, if someone clocks in at 5:45am and clocks out at 9:30am both of your times in the script have been touched and this results in a true statement. The timecard will reflect the category of ‘Example’.
If someone were to clock in at 5:45am and clock out at 8:30am, this script will result in a false statement as both times were not touched and the script will not be triggered.
| |