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)
PENDINGNot yet available for work
AVAILABLEReady to be worked on
RUNNINGWork in progress
COMPLETEDSuccessfully completed
FAILEDItem failed
CANCELLEDItem 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!
}