← All types
In Input object

TransitionOperationItemInput

Input for transitioning operation item status

Fields

TypeID (opi_…) of the item to transition. Must belong to the calling tenant.

Target status. When settings.statusRules.enforceOrder is on, rejected unless reachable from the item's current status: PENDING→AVAILABLE/CANCELLED, AVAILABLE→RUNNING/CANCELLED, RUNNING→COMPLETED/FAILED, FAILED→AVAILABLE; COMPLETED and CANCELLED are terminal. Moving to RUNNING stamps actualStartAt (first time only); moving to COMPLETED stamps actualCompletionAt.

Possible values (6)
PENDING

Not yet available for work

AVAILABLE

Ready to be worked on

RUNNING

Work in progress

COMPLETED

Successfully completed

FAILED

Item failed

CANCELLED

Item cancelled

Referenced by (1)
Exact type SDL
"""Input for transitioning operation item status"""
input TransitionOperationItemInput {
  """
  TypeID (`opi_…`) of the item to transition. Must belong to the calling tenant.
  """
  id: OperationItemID!
  """
  Target status. When settings.statusRules.enforceOrder is on, rejected unless reachable from the item's current status: PENDING→AVAILABLE/CANCELLED, AVAILABLE→RUNNING/CANCELLED, RUNNING→COMPLETED/FAILED, FAILED→AVAILABLE; COMPLETED and CANCELLED are terminal. Moving to RUNNING stamps actualStartAt (first time only); moving to COMPLETED stamps actualCompletionAt.
  """
  status: OperationItemStatus!
}