WorkCenterStatusEventState
A single entry in a work centre's status history: the phase transition plus the device status reported at that moment, held until the status changes. Only lastSeenAt moves after the event is written. This history is a separate table from the entity status_events spine and shares no key with it.
Audit record when this event has been voided or superseded; null otherwise
TypeID of this status event (wcse_ prefix). Events are append-only: once recorded they are never updated or deleted.
TypeID (wcr_ prefix) of the work centre that transitioned. Every event belongs to exactly one work centre and is scoped to the caller's tenant.
Phase the work centre left. Null for the first event in a session, i.e. when no prior phase was reported.
Phase the work centre entered — the phase it is considered to be in from this event's timestamp until the next event.
Device status reported alongside the transition (JMF DeviceStatus plus ERROR). CUSTOM means the real value is carried in customStatus. Unrecognised persisted values read back as UNKNOWN.
customStatusStringVendor- or domain-specific status string; non-null only when status is CUSTOM, where it is required and limited to 100 characters.
sourceString!Provenance tag for how the event reached the platform (e.g. API, MQTT, MANUAL). Never null — defaults to "API" when the recorder omits it.
Optional key-value metadata supplied when the event was recorded
ISO8601 instant the transition actually occurred, as reported by the source. This is the ordering and filtering key for the history; it may precede createdAt when events are backfilled.
ISO8601 instant the platform persisted the event. Differs from timestamp for late or backfilled reports.
ISO8601 instant the held status was last observed again. A status is held until it changes, so a repeat refreshes this instead of appending an event; equals timestamp until the status is seen again.
View exact SDL
"""
A single entry in a work centre's status history: the phase transition plus the device status reported at that moment, held until the status changes. Only lastSeenAt moves after the event is written. This history is a separate table from the entity status_events spine and shares no key with it.
"""
type WorkCenterStatusEventState {
"""
Audit record when this event has been voided or superseded; null otherwise
"""
correction: WorkCenterStatusEventCorrection
"""
TypeID of this status event (`wcse_` prefix). Events are append-only: once recorded they are never updated or deleted.
"""
id: WorkCenterStatusEventID!
"""
TypeID (`wcr_` prefix) of the work centre that transitioned. Every event belongs to exactly one work centre and is scoped to the caller's tenant.
"""
workCenterId: WorkCenterID!
"""
Phase the work centre left. Null for the first event in a session, i.e. when no prior phase was reported.
"""
fromPhase: ProgressPhase
"""
Phase the work centre entered — the phase it is considered to be in from this event's timestamp until the next event.
"""
toPhase: ProgressPhase!
"""
Device status reported alongside the transition (JMF DeviceStatus plus ERROR). CUSTOM means the real value is carried in customStatus. Unrecognised persisted values read back as UNKNOWN.
"""
status: WorkCenterStatusKey!
"""
Vendor- or domain-specific status string; non-null only when status is CUSTOM, where it is required and limited to 100 characters.
"""
customStatus: String
"""
Provenance tag for how the event reached the platform (e.g. API, MQTT, MANUAL). Never null — defaults to "API" when the recorder omits it.
"""
source: String!
"""Optional key-value metadata supplied when the event was recorded"""
metadata: [Dictionary!]!
"""
ISO8601 instant the transition actually occurred, as reported by the source. This is the ordering and filtering key for the history; it may precede createdAt when events are backfilled.
"""
timestamp: ISO8601!
"""
ISO8601 instant the platform persisted the event. Differs from timestamp for late or backfilled reports.
"""
createdAt: ISO8601!
"""
ISO8601 instant the held status was last observed again. A status is held until it changes, so a repeat refreshes this instead of appending an event; equals timestamp until the status is seen again.
"""
lastSeenAt: ISO8601!
}One stable address across all schema views. Follow a field’s type to explore connections between domains.