Discussions
Distinguishing between manually and automatically added Break Attendance periods
27 days ago by Angeliki
Hello,
When configuring Work Schedules for employees, we can set the breaks to be added automatically.
Is there a way to determine whether a break is added manually or automatically when retrieving Attendance periods using List Attendance periods API endpoint (v2.0 Attendances API, v1.0 Attendances API)?
We have performed the following test but we are still not sure:
- We manually added (through the UI) a break entry for an employee who also had a break automatically added for the same day (with different start time and end time).
- We used the v2.0 Attendances API endpoint to get the Attendance periods of type
BREAK
for that employee on that day, and we noticed the following difference between the 2 entries, regarding the value of the fieldcomment
:- The
comment
of the Attendance period entry for the break that was added manually had an empty string value. - The
comment
of the Attendance period entry for the break that was added automatically had a null value.
- The
Thank you in advance!