OCSeriesEventGenerator - Global
-
- UpdatedJan 30, 2025
- 2 minutes to read
- Yokohama
- API reference
The OCSeriesEventGenerator script include provide methods to generate the repeating VEVENTS for a user's iCalendar.
OCSeriesEventGenerator - getMemberCalendar (String groupId, String rotaId, String userId, Object dateRangeObj, Object memberSchedules, String calendarLink)
Returns an array of the repeating on-call events.
Type | Description |
---|---|
Array | Array of the repeating on-call events. |
OCSeriesEventGenerator - getRosterICalEvents (GlideRecord rotaScheduleSpanGR, GlideRecord memberScheduleSpanGR, Array seriesStartTimes, Object excludeItems, String repeatUntil, String timeZone, String calendarLink)
Returns an array of VEVENTs that represent the on-call for the provided rotaScheduleSpanGR and the memberScheduleSpanGR.
Type | Description |
---|---|
Array | An array of VEVENTs that represent the on-call for the provided rotaScheduleSpanGR and the memberScheduleSpanGR. |
OCSeriesEventGenerator - getRosterMemberEvents (GlideRecord rotaMemberGR, Array seriesStartTimes, Object excludeItems, String repeatUntil, String calendarLink)
Returns an array of the repeating on-call VEVENTS.
Type | Description |
---|---|
Array | An array of the repeating on-call VEVENTS |
On this page
- OCSeriesEventGenerator - getMemberCalendar (String groupId, String rotaId, String userId,
Object dateRangeObj, Object memberSchedules, String calendarLink)
- OCSeriesEventGenerator - getRosterICalEvents (GlideRecord rotaScheduleSpanGR, GlideRecord
memberScheduleSpanGR, Array seriesStartTimes, Object excludeItems, String repeatUntil, String
timeZone, String calendarLink)
- OCSeriesEventGenerator - getRosterMemberEvents (GlideRecord rotaMemberGR, Array
seriesStartTimes, Object excludeItems, String repeatUntil, String calendarLink)