recordWorkCenterStatusEvent
Topics: Jobs
Record a work centre's status. A status is held until it changes: when it equals the current status, the current event's lastSeenAt is refreshed and that event is returned; otherwise a new event is appended. A timestamp before the current event's is recorded as history. Requires workCenter:write permission.
Exact field SDL
"""
Record a work centre's status. A status is held until it changes: when it equals the current status, the current event's lastSeenAt is refreshed and that event is returned; otherwise a new event is appended. A timestamp before the current event's is recorded as history. Requires workCenter:write permission.
"""
recordWorkCenterStatusEvent(
"""Status event to record"""
input: RecordWorkCenterStatusEventInput!
): RecordWorkCenterStatusEventPayload! @topic(names: ["jobs"])Declared on Mutation. Access is checked by the platform for each operation.