# 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<br />
**field** `String`: Valid options are shiftId, startDate, endDate, rruleStr, crewSize<br />
**value** `pyObject`: Value to update to<br />
**userId** `Integer`: Id of user executing the function<br />

---
### Returns
**# of records modified** `Integer`<br />

---
### Example
```python
retVal = system.kanoa.shift.updateShiftBlockField(1, 'startDate', system.date.parse("2025-11-05 07:00"), 123)
```
