Skip to main content

system.kanoa.schedule.getExistingEventAdjustedTimes(scheduleOption, eventToSchedule, existingEvent)

Checks the existing event time against an eventToSchedule time and returns the existingEvent with adjusted time and an action i.e 'adjust' or 'delete'


Parameters

scheduleOption String: 'fixed', 'override'
eventToSchedule Dictionary: scheduleBlockInfo

- endDateDateTime
- startDateDateTime

existingEvent Dictionary: scheduleBlockInfo

- endDateDateTime
- scheduleBlockIdInteger
- startDateDateTime

Returns

existingEvent Dictionary scheduleBlockInfo
dateAdjusted Boolean


Example