Objects

About objects

Objects in GraphQL represent the resources you can access. An object can contain a list of fields, which are specifically typed.

Approver

Approver

Fields

NameDescription

condition (String)

id (ID!)


Entity

Fields

NameDescription

findStateByID (State!)

Arguments

id (ID!)

findStateFlowByID ( StateFlow!)

Arguments

id (ID!)


MoveStateResponse

Fields

NameDescription

state (State)

success (Boolean!)


State

State is the current state od state flow state

Fields

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)


StateFlow

StateFlow

Fields

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


StateHistory

State Transition history

Fields

NameDescription

action (String!)

approver (String!)

createdAt (DateTime!)

id (ID!)

state (String!)


StateTransitionModel

StateFlow Step

Fields

NameDescription

approvers ([Approver!])

approvers of this state transition

description (String)

description

name (String)

name

transitions ( [Transition!])

list of transition destinations


Transition

Transition

Fields

NameDescription

action (String)

destination (String)


_Service

Fields

NameDescription

sdl (String)