Mutations

About mutations

dropStateFlow

Input fields


moveState

Input fields

Returns

NameDescription
state (State)
success (Boolean!)

newState

Input fields

Returns

NameDescription
createdAt (DateTime)
currentState (String)

current state transition model name

expireAt (DateTime)
histories ([StateHistory!])
id (ID!)

the uuid of state

name (String)

the name of state

resourceId (ID!)

the uuid of resource

stateFlow (StateFlow)

state flow

updatedAt (DateTime)

newStateFlow

Input fields

Returns

NameDescription
createdAt (DateTime)

creation DateTime

endAt (DateTime)

end of expiration DateTime

id (ID!)

the uuid of state flow

name (String)

the name of state flow

startAt (DateTime)

start of expiration DateTime

stateTransitionModels ([StateTransitionModel!])

list of state transition models


newStates

Input fields

Returns

NameDescription
createdAt (DateTime)
currentState (String)

current state transition model name

expireAt (DateTime)
histories ([StateHistory!])
id (ID!)

the uuid of state

name (String)

the name of state

resourceId (ID!)

the uuid of resource

stateFlow (StateFlow)

state flow

updatedAt (DateTime)