system.kanoa.shift.updateShiftBlockField(shiftBlockId, field, value, userId)
Updates the passed field value for the given scheduleBlockId. (kanoaOps)
Parameters
shiftBlockId Integer: Id of the shift block to update
field String: Valid options are shiftId, startDate, endDate, rruleStr, crewSize
value pyObject: Value to update to
userId Integer: Id of user executing the function
Returns
# of records modified Integer
Example
retVal = system.kanoa.shift.updateShiftBlockField(1, 'startDate', system.date.parse("2025-11-05 07:00"), 123)