Documentation

OnStartAbsence

OnStartAbsence absence start event.

This feature is already used in Open Channels starting from imopenlines version 18.7.0.

Please note, the feature operates for agents and some possible cases with delayed events.

Event receives the following parameters:

Parameter Description
USER_ID User ID, who's absence started/ended.
ABSENCE_TYPE Absence type. The following values are available:
  • VACATION - annual vacation
  • ASSIGNMENT - business trip
  • LEAVESICK - sick leave
  • LEAVEMATERINITY - maternity leave
  • LEAVEUNPAYED - unpaid leave
  • UNKNOWN - absence
  • OTHER - other
  • PERSONAL - personal calendars
START absence start date. Object \Bitrix\Main\Type\DateTime.
END absence end date. Object \Bitrix\Main\Type\DateTime.
DURATION duration (in seconds).


© «Bitrix24», 2001-2024