Documentation

OnEndAbsence

OnStartAbsence absence end date.

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

Please note, this feature works for agents and in some cases with possible delayed events.

The 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