system.kanoa.schedule.updateScheduleBlockExceptions(scheduleBlockId, newStartDate, userId)
Updates a scheduleBlockException. When a scheduled event block's startDate gets updated, all of its exceptions dates will be updated as well
Parameters
scheduleBlockId Integer
newStartDate DateTime
userId Integer: Id of user executing the function
Returns
None
Example
scheduleBlockId = 789
newStartDate = system.date.parse("2025-11-05 00:00:00")
userId = 101
scheduleBlockExceptionId = system.kanoa.schedule.updateScheduleBlockExceptions(scheduleBlockId, newStartDate, userId)