← API reference
Mutation / jobs

transitionOperationItem

Transition operation item to a new status. Requires operation:execute permission.

Arguments

The item to move and its target status. A transition the state machine disallows is returned as an errors entry on status, not thrown.

Returns UpsertOperationItemPayload!

Explore in a view

Production Floor
View exact SDL
"""
Transition operation item to a new status. Requires operation:execute permission.
"""
transitionOperationItem(
  """
  The item to move and its target status. A transition the state machine disallows is returned as an errors entry on `status`, not thrown.
  """
  input: TransitionOperationItemInput!
): UpsertOperationItemPayload! @topic(names: ["jobs"])

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