system.mes.shift.getShiftRecordStatus
Description
Retrieves the status of a Shift Records.
Syntax
system.mes.shift.getShiftRecordStatus(id)
Parameters
| Parameter | Type | Nullable | Description |
|---|---|---|---|
id | String (ULID) | False | The ID of the shift record to check. |
Returns
Returns a String (Enum) representing the status. Possible values include: IDLE, ACTIVE, CLOSED, VERIFIED.
Code Examples
status = system.mes.shift.getShiftRecordStatus('01JAP8RJBN-8ZTPXSGY-J9GSDPE1')
print(status)