← All types
AutomationOb Object

ProductionShift

Shift state of a work center at the snapshot cutoff

Fields

On shift, off shift, or why it is unknown

Possible values (5)
ON_SHIFT

Inside a shift from the work center's shift profiles

OFF_SHIFT

Outside every shift; idleness and silence are expected

NO_SHIFTS

No shift profile is in force, so shift awareness does not apply

TIME_ZONE_UNSET

Shift profiles exist but the tenant time zone is unset, so the board will not guess

UNAVAILABLE

Shift definitions are not readable with the caller's permissions

When the current shift ends; null when not on shift

When the next shift starts within a week; null when on shift or none

Referenced by (1)
Exact type SDL
"""Shift state of a work center at the snapshot cutoff"""
type ProductionShift {
  """On shift, off shift, or why it is unknown"""
  state: ProductionShiftState!
  """When the current shift ends; null when not on shift"""
  endsAt: ISO8601
  """When the next shift starts within a week; null when on shift or none"""
  nextStartAt: ISO8601
}