I have set up a biometric device to capture Employee Check-ins, and the Employee Check-in records are working perfectly. However, the Auto Attendance and Mark Attendance features are not working as expected.
Here’s how I configured Auto Attendance:
- Created a Shift Type and enabled Auto Attendance.
- Assigned the Shift Type to the employee via the Employee DocType under Attendance & Leave > Default Shift.
- Set the Process Attendance After date to today.
- Updated the Last Sync of Check-in field to the current time.
- Clicked the Mark Attendance button on the Shift Type document.
Despite these steps, attendance is still not being marked.
I also checked the Scheduled Job Log for shift_type.process_auto_attendance_for_all_shifts
, and it is running every hour with the status Completed.
I’m looking for a solution to resolve this issue.
1 Like
have you been able to solve this ?
Check that in the checkins, the shift type value is set or no, if not then press the up right button “fetch shift”, if it is set then re run the auto attendance. It should work now!
I was able to solve it half-way. The problem was caused when “Process Attendance After” was set to a recent date. Should set the date to an early date, so that the attendance will be marked after that date. Also I had to set the “Last Sync of Checkin” to the recent date and time. After that I click the “Mark Attendance” button in Shift Type, then the attendance of all the Employees are getting marked.
However, it doesn’t Mark the Attendance Automatically like it has been stated in the ERPNext Documentation, where it states “Auto Attendance for every ‘Shift Type’ record is attempted to be marked every hour”.
2 Likes
I have set the Shift Types correctly with all the dates and times now, but it doesn’t mark attendance automatically in every hour, I have to manually click “Mark Attendance” button in the Shift Type.
Thanks for your response…! OK done. There’s actually lot of trick in configuring the auto attendance parameters in Shift. After lot of setting, it is done finally. we will experiment it for a month and then implement.