Updated in July-2025Â |Â Subscribe to watch greytHR how-to video
In industries such as manufacturing and healthcare, employees often work beyond traditional shift hours. To support these real-world scenarios, like flexi shifts or 24 hour operations, greytHR introduces the Overstay feature in Shifts. This enhancement enables you as an admin to define extended work hours beyond the shift durations and manage employee swipes accordingly.
With this setup, organizations can capture all worked hours accurately, even when employees log in late, take long breaks, or extend their shifts, ensuring proper payroll and attendance management.
Handles Flexi Shifts and 24-Hour Shifts: Accurately tracks attendance for employees on flexible schedules or working overnight and across calendar days, preventing false flags and errors.
Accurate Attendance Records: Captures all working hours, including up to 12 additional hours beyond the scheduled shift, without manual adjustments.
Gap Handling: Allows up to 12 hours between swipe-out and the next swipe-in without splitting the shift.
Override Support: Enables attendance overrides within the extended time window for easy corrections. (up to 23:59 hrs)
Improved Payroll Accuracy: Ensures all extended hours are reflected accurately in payroll, reducing disputes and errors.
The Overstay feature in shifts allows you, as an admin, to configure extended work hours and acceptable gaps between swipe-out and the next swipe-in, ensuring proper tracking without manual corrections.
For the Allow Overstay option to reflect in the Shift page, you must first enable it.
From the greytHR Admin portal go to Settings > System Settings > Attendance > Attendance Options.
Select the checkbox: Consider Overstay while configuring shift and save.
Once the feature is enabled under System Settings select Attendance > Shift.
Select a Shift or create a new one by clicking + Add Shift.
Enable the checkbox: Allow Overstay, and enter values for:
Extension Hours for a Day (e.g., 12)
Max Gap Between Out and in Swipes (e.g., 4) and save the shift.
Note: You can configure up to 12 hours of overstay and set the maximum allowed gap between swipe-out and the next swipe-in. Any swipe activity within the 36-hour window (24-hour shift + 12-hour overstay) is treated as part of the same shift.
The overstay logic determines how swipe events beyond the scheduled shift end time are processed:
Swipe Within Regular End Time
If the swipe falls within the regular end time, no gap validation is performed.
The swipe is considered part of the current day’s shift.
Swipe Outside Regular End Time but Within Extended End Time
In-Swipe:
The system checks the gap between the last out-swipe and the in-swipe.
If within the configured gap, the swipe is attributed to the previous day’s shift.
Out-Swipe:
No gap validation is required.
Considered part of the current day’s shift.
Swipe After Extended End Time
Automatically considered the start of the next day’s shift.
Shift Configuration Reference
Start Time | End Time | Extended End Time |
---|---|---|
Shift start time - In Margin | Shift end time + Out Margin | Shift end time + Out Margin + additional/ extension hours for a day |
8:00am - 2:00hrs | 18:00pm + 11:59hrs | 18:00pm + 11:59hrs + 12:00 hrs |
06.00 AM (day 1) | 05:59 AM (day 2) = 23:59hrs | 05:59 PM (day 2) |
Scenario: Employee swipes regularly without exceeding the gap.
Swipe Type | Time | Day | System Behavior |
---|---|---|---|
IN | 2:00 PM | Day 1 | First swipe for Day 1 |
OUT | 10:00 PM | Day 1 | Second swipe for Day 1 |
IN | 10:30 PM | Day 1 | Third swipe for Day 1 |
OUT | 8:00 AM | Day 2 | Fourth swipe for Day 1 (within Extended End Time) |
All swipes treated as the same shift.
Scenario: Employee takes a long break.
Swipe Type | Time | Day | System Behavior |
---|---|---|---|
IN | 2:00 PM | Day 1 | First swipe for Day 1 |
OUT | 10:00 PM | Day 1 | Second swipe for Day 1 |
IN | 8:00 AM | Day 2 | New shift starts (gap = 10 hours) |
OUT | 2:00 PM | Day 2 | Second swipe for Day 2 |
Outcome:
Even though the 8:00 AM IN swipe is within the Extended End Time, the gap exceeded 4 hours, so it starts a new shift.
Scenario: Employee forgets to swipe out.
Swipe Type | Time | Day | System Behavior |
---|---|---|---|
IN | 2:00 PM | Day 1 | First swipe for Day 1 |
OUT (Auto) | 2:00 PM | Day 1 | Auto out created |
IN | 10:30 PM | Day 1 | Third swipe for Day 1 |
OUT | 8:00 AM | Day 2 | Fourth swipe for Day 1 |
Auto-out is recorded; all swipes within the same shift.
Scenario: Employee forgets to swipe out and returns after a long gap.
Swipe Type | Time | Day | System Behavior |
---|---|---|---|
IN | 2:00 PM | Day 1 | First swipe for Day 1 |
OUT (Auto) | 2:00 PM | Day 1 | Auto out created |
IN | 8:00 AM | Day 2 | New shift starts (gap = 18 hours) |
OUT | 2:00 PM | Day 2 | Second swipe for Day 2 |
New shift created due to exceeding the gap, despite the swipe being within the Extended End Time.
Scenario: Employee works overnight, then returns after a long gap.
Swipe Type | Time | Day | System Behavior |
---|---|---|---|
IN | 10:00 PM | Day 1 | First swipe for Day 1 |
OUT | 6:00 AM | Day 2 | Second swipe for Day 1 |
IN | 2:00 PM | Day 2 | New shift starts (gap = 8 hours) |
OUT | 10:00 PM | Day 2 | Second swipe for Day 2 |
New shift starts due to gap exceeding the configured limit.
Scenario: Employee misses swipe out; admin intervenes.
Swipe Type | Time | Day | System Behavior |
---|---|---|---|
IN | 10:00 PM | Day 1 | First swipe for Day 1 |
OUT (missing) | (to be added) | Day 2 | System allows attendance override within the Extended End Time |
 Admin can override the swipe time.
Scenario: Employee misses a swipe and requests a correction.
Swipe Type | Time | Day | System Behavior |
---|---|---|---|
IN | 10:00 PM | Day 1 | First swipe for Day 1 |
OUT (missing) | (to be added) | Day 2 | Employee can regularise within the Extended End Time |
Regularisation is allowed up to 23:59 hrs.
The extended configuration supports up to 36 hours total (24-hour shift boundation + 12-hour extension).
Only two new rules are added under the shift configuration. No major impact on Shift Roster or other modules.
Works seamlessly with Attendance Overrides and Regularizations for upto 23:59 hours
Doesn’t work with split shifts
The Overstay feature allows admins to configure extended work hours and swipe gap limits, helping organizations accurately capture attendance for employees who work beyond standard shift durations, especially in industries like manufacturing and healthcare.
You can configure a shift for up to 24 hours, with an additional 12-hour overstay window, allowing up to 36 hours of total shift coverage.
If the gap exceeds the configured maximum (e.g., 4 hours), the system treats the next swipe as the start of a new day’s shift.
Yes, if the swipe activity falls within the extended shift window, it can be overridden or regularized as needed. If it falls outside the window, it will not be eligible.
The overstay feature is specifically designed for Flexi Shifts and may not apply to shift logic/FIT/LOT logic.
To enable overstay for flexi shifts in greytHR, from the greytHR Admin portal, go to Settings > System Settings > Attendance> Shift.
Select a Flexi Shift or create a new one.
Enable the checkbox: Allow Overstay, and enter values for:
Extension Hours for a Day (e.g., 12)
Max Gap Between Out and n Swipes (e.g., 4) and save the shift.
If an employee works beyond the scheduled shift but stays within the defined shift window, the Overstay feature considers it as part of the same shift.
For a shift from 6:00 AM (Day 1) to 5:59 AM (Day 2), if the employee swipes in at 2:00 PM and swipes out at 8:00 AM the next day, it is still treated as part of the same shift.
Yes. When the break between swipe-out and the next swipe-in exceeds the configured gap limit (e.g., 4 hours), the Overstay feature treats the new swipe-in as the start of a separate shift. If an employee swipes out at 10:00 PM and returns at 8:00 AM (a 10-hour gap), the system starts a new shift from the morning swipe.
Create regular shifts and split shifts
▶ Video - Watch our how-to videos to learn more about greytHR.
📢 Product Update - Read about the product updates.