Shift ManagementEffectively Manage Shift Overstay with greytHR
Topics
Get Started with greytHR Admin Portal
Optimize HR Tasks with greytHR Admin Portal Guide
Core HR
See More
Shift Management
Effectively Manage Shift Overstay with greytHR
In this Article
Help Article
SHIFT MANAGEMENT

Effectively Manage Shift Overstay with greytHR

Updated in May - 2026 | 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.

Key benefits

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.

Enable Overstay for shifts

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.

  1. Select a Shift or create a new one by clicking + Add Shift.

  2. 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.

Overstay logic

The overstay logic determines how swipe events beyond the scheduled shift end time are processed:

Swipe Within Regular End Time

  1. If the swipe falls within the regular end time, no gap validation is performed.

  2. The swipe is considered part of the current day’s shift.

Swipe Outside Regular End Time but Within Extended End Time

  • In-Swipe:

  1. The system checks the gap between the last out-swipe and the in-swipe.

  2. If within the configured gap, the swipe is attributed to the previous day’s shift.

  • Out-Swipe:

  1. No gap validation is required.

  2. Considered part of the current day’s shift.

Swipe After Extended End Time

  1. Automatically considered the start of the next day’s shift.

Overstay: Use cases

Shift Configuration Reference

Start TimeEnd TimeExtended End Time
Shift start time - In MarginShift end time + Out MarginShift end time + Out Margin + additional/ extension hours for a day
8:00am - 2:00hrs18:00pm + 11:59hrs18:00pm + 11:59hrs + 12:00 hrs
06.00 AM (day 1)05:59 AM (day 2) = 23:59hrs05:59 PM (day 2)

Use case 1: Continuous swipes within extended end time

Scenario: Employee swipes regularly without exceeding the gap.

Swipe TypeTimeDaySystem Behavior
IN2:00 PMDay 1First swipe for Day 1
OUT10:00 PMDay 1Second swipe for Day 1
IN10:30 PMDay 1Third swipe for Day 1
OUT8:00 AMDay 2Fourth swipe for Day 1 (within Extended End Time)

All swipes treated as the same shift.

Use case 2: Gap exceeds configured limit (swipe within extended end time)

Scenario: Employee takes a long break.

Swipe TypeTimeDaySystem Behavior
IN2:00 PMDay 1First swipe for Day 1
OUT10:00 PMDay 1Second swipe for Day 1
IN8:00 AMDay 2New shift starts (gap = 10 hours)
OUT2:00 PMDay 2Second 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.

Use case 3: Missing swipe (Auto out)

Scenario: Employee forgets to swipe out.

Swipe TypeTimeDaySystem Behavior
IN2:00 PMDay 1First swipe for Day 1
OUT (Auto)2:00 PMDay 1Auto out created
IN10:30 PMDay 1Third swipe for Day 1
OUT8:00 AMDay 2Fourth swipe for Day 1

Auto-out is recorded; all swipes within the same shift.

Use case 4: Missing swipe + extended break

Scenario: Employee forgets to swipe out and returns after a long gap.

Swipe TypeTimeDaySystem Behavior
IN2:00 PMDay 1First swipe for Day 1
OUT (Auto)2:00 PMDay 1Auto out created
IN8:00 AMDay 2New shift starts (gap = 18 hours)
OUT2:00 PMDay 2Second swipe for Day 2

New shift created due to exceeding the gap, despite the swipe being within the Extended End Time.

Use case 5: Overnight work + extended break

Scenario: Employee works overnight, then returns after a long gap.

Swipe TypeTimeDaySystem Behavior
IN10:00 PMDay 1First swipe for Day 1
OUT6:00 AMDay 2Second swipe for Day 1
IN2:00 PMDay 2New shift starts (gap = 8 hours)
OUT10:00 PMDay 2Second swipe for Day 2

New shift starts due to gap exceeding the configured limit.

Use case 6: Attendance override for missing swipe

Scenario: Employee misses swipe out; admin intervenes.

Swipe TypeTimeDaySystem Behavior
IN10:00 PMDay 1First swipe for Day 1
OUT (missing)(to be added)Day 2System allows attendance override within the Extended End Time

 Admin can override the swipe time.

Use case 7: Attendance regularisation

Scenario: Employee misses a swipe and requests a correction.

Swipe TypeTimeDaySystem Behavior
IN10:00 PMDay 1First swipe for Day 1
OUT (missing)(to be added)Day 2Employee can regularise within the Extended End Time

Regularisation is allowed up to 23:59 hrs.

Additional notes

  • 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

Related Articles:

Create regular shifts and split shifts

How-to videos

Get started with quick video walkthroughs.
  • Product
  • HR Software
  • Payroll Software
  • Leave Management
  • Attendance Management
  • Performance Management
  • Employee Self Service
  • Employee Engagement
  • Unite Marketplace
  • Recruitment Software
  • Expense Management
  • greytHR Service Status
  • greytHR Customers
  • greytHR Help
  • Login
  • Videos
  • PlayStoreAppStore
greytHR-logo
GDPR Compliant certification badgeSoc2 certification badgeISO Certification Badge
WhatsApp LogoMessage us on WhatsApp
Grape Garden, #29 & 30, 17th Main, 6th Block, Koramangala, Bengaluru - 560095
© 2026 Greytip Software Pvt. Ltd.
Privacy PolicyTerms of Use
FacebookTwitterLinkedInInstagramYouTube