Skip to main content

Shift Type in Frappe HR: Defining Shifts and Auto Attendance Settings

The Shift Type document is where you define the different shifts your organisation runs and set up Auto Attendance for each one. Auto Attendance then marks attendance for the employees on a shift, based on their Employee Checkin records.

You will find it under Home > Human Resources > Shift Management > Shift Type.

Creating a Shift Type

  1. Click New.
  2. Enter the Shift Name, Start Time, and End Time.
  3. Save.

That defines the shift. Everything below is optional configuration for Auto Attendance, which runs automatically every hour for each Shift Type and which you can also trigger manually with the Mark Attendance button on the Shift Type.

1. Basic setup

  • Start Time / End Time: The shift’s start and end, entered in 24-hour format.
  • Holiday List: The holidays that apply to this shift. If left blank, the default holiday list from the Employee or Company is used. Attendance is not marked by the scheduler on a holiday.
  • Enable Auto Attendance: Turns on automatic attendance marking for employees on this shift, based on their Employee Checkin records.

NOTE

If the End Time is earlier than the Start Time, the shift is treated as a night shift one that starts on one calendar date and ends on the next.

2. Auto Attendance settings

These settings control how check-ins are interpreted and how attendance is decided.

Determine Check-in and Check-out

  • Alternating entries as IN and OUT: The first log is IN, the next OUT, the next IN, and so on. Use this when your device doesn’t record a Log Type for every punch.
  • Strictly based on Log Type: IN/OUT is taken exactly from the Log Type on each Employee Checkin. Use this when your logs reliably carry the correct log type.

Working Hours Calculation Based On

  • First Check-in and Last Check-out: Working hours = time between the first IN and the last OUT of the shift. This includes breaks and any in-between entries.
  • Every Valid Check-in and Check-out: Only the time the employee is actually checked in counts, break time is excluded.

Grace windows

  • Begin check-in before shift start time (minutes): Counts early check-ins as part of the shift.
  • Allow check-out after shift end time (minutes): Counts late check-outs as part of the shift.

Marking rules

  • Mark Auto Attendance on Holidays: If enabled, attendance is marked on holidays when check-ins exist (by default, holidays are skipped).
  • Working Hours Threshold for Half Day: If actual working hours fall below this value, attendance is marked Half Day. Set it to zero to never use this rule.
  • Working Hours Threshold for Absent: If actual working hours fall below this value, attendance is marked Absent. Set it to zero to never use this rule.

NOTE

The Half Day and Absent thresholds only apply when at least one check-in exists to process. If there is no check-in log at all, attendance is still marked Absent regardless of the threshold values.

Sync controls

  • Process Attendance After: The date Auto Attendance should start marking from. Set it to a date after which you have Employee Checkin records for this shift.
  • Last Sync of Checkin: The timestamp up to which check-ins have been synced. It must be updated by whatever creates the check-ins (the sync tool updates it automatically; for manual entry you set it yourself).
  • Automatically update Last Sync of Checkin: For a single biometric device or mobile-app check-ins, enable this so the system maintains the timestamp for you no scripting or manual updates needed.

3. Late Entry & Early Exit settings

  • Enable Late Entry Marking: Flags attendance with Late Entry when the employee’s in-time exceeds the permitted in-time.
  • Late Entry Grace Period: Extra minutes added to the shift start before an entry counts as late.
  • Enable Early Exit Marking: Flags attendance with Early Exit when the employee’s out-time is earlier than the permitted out-time.
  • Early Exit Grace Period: Minutes before the shift end within which an exit still doesn’t count as early.

TIP

If you use a single biometric device or the mobile app, turn on Automatically update Last Sync of Checkin. It removes the most common Auto Attendance headache attendance not marking because the Last Sync timestamp was never advanced.

Related Topics

  • Auto Attendance
  • Employee Checkin
  • Shift Assignment
  • Shift Management

SUMMARY

A Shift Type defines a shift (name, start, end) and holds the Auto Attendance configuration. Basic setup covers start/end times, holiday list, and enabling Auto Attendance; an end time earlier than the start makes it a night shift. Auto Attendance settings control how IN/OUT is determined, how working hours are calculated, grace windows for early/late punches, thresholds that mark Half Day or Absent, and the sync controls (Process Attendance After, Last Sync of Checkin, and auto-updating that timestamp). Late Entry and Early Exit settings flag attendance when employees arrive late or leave early, with configurable grace periods.

Rating: 0 / 5 (0 votes)