Magidoc

WorkflowExecution
Object

A workflow execution.

Fields

#

id

ID !
Non-null

This execution's ID.

workflow

Non-null

The associated workflow.

root

Non-null

The root node of this execution.

lifeCycleStatus

Non-null

Here are the possible state transitions:

RUNNING
WAITING
FINISHED
RUNNING
-
Y
Y
WAITING
Y
-
Y
FINISHED
N
N
-

executionStatus

Non-null

Here are the possible state transitions (X = possible, N = not possible):

INITIALIZED
EXECUTING_STEP
CANCEL_REQUESTED
WAITING_ON_PURPOSE
WAITING_ON_ERROR
FINISHED_SUCCESS
FINISHED_FAILED
FINISHED_CANCELLED
INITIALIZED
-
Y
N
N
N
N
N
N
EXECUTING_STEP
N
-
Y
Y
Y
Y
Y
N
CANCEL_REQUESTED
N
N
-
N
N
N
Y
Y
WAITING_ON_PURPOSE
N
Y
Y
-
N
N
Y
Y
WAITING_ON_ERROR
N
Y
Y
N
-
N
Y
Y
FINISHED_SUCCESS
N
N
N
N
N
-
N
N
FINISHED_FAILED
N
N
N
N
N
N
-
N
FINISHED_CANCELLED
N
N
N
N
N
N
N
-

variant

The associated variant if this execution was started with a variant.

startedBy

The user that started this execution if there was any.

stoppedBy

The user that stopped this execution if there was any.

Usages

#

References

#

  • Field workflowExecutionsByWorkflowId from Query
  • Field workflowExecutionsByWorkflowName from Query