← API reference
Subscription / jobs

workCenterTwinShadowChanged

Streams twin transitions as they are recorded — shadow transitions per operation and for the work centre as a whole, and pace-track transitions (STEADY, SLOWING, ENDED) — from the event bus — so a transition recorded by any node reaches the subscriber. Ends at once for a work centre this tenant cannot see, or when the server runs without an event bus. Requires workCenterBehaviorProfile:read permission.

Arguments

workCenterIdWorkCenterID

The work centre to follow; omit to follow every work centre of the tenant

Only transitions of this track; omit for both

Returns WorkCenterTwinEvent!

Scalar fields at a glance

workCenterIdWorkCenterID!
operationIdOperationID
↗ View the complete WorkCenterTwinEvent type

Explore in a view

Production Floor
View exact SDL
"""
Streams twin transitions as they are recorded — shadow transitions per operation and for the work centre as a whole, and pace-track transitions (STEADY, SLOWING, ENDED) — from the event bus — so a transition recorded by any node reaches the subscriber. Ends at once for a work centre this tenant cannot see, or when the server runs without an event bus. Requires workCenterBehaviorProfile:read permission.
"""
workCenterTwinShadowChanged(
  """
  The work centre to follow; omit to follow every work centre of the tenant
  """
  workCenterId: WorkCenterID
  """Only transitions of this track; omit for both"""
  track: WorkCenterTwinTrack
): WorkCenterTwinEvent! @topic(names: ["jobs"])

Schema reference describes the API contract. Actual access is checked by the platform for every operation.