Executions are runtime objects and they reflect the information about the progress and state of concrete execution type. All executions are persisted in DB.
A particular execution of specific workflow. When user submits a workflow to run, Mistral creates an object in database for execution of this workflow. It contains all information about workflow itself, about execution progress, state, input and output data. Workflow execution contains at least one task execution.
A workflow execution can be in one of a number of predefined states reflecting its current status:
Defines a workflow execution step. It has a state and result.
Task state
A task can be in one of a number of predefined states reflecting its current status:
All the actual task states belonging to current execution are persisted in DB.
Task result is an aggregation of all action executions belonging to current task execution. Usually one task execution has at least one action execution. But in case of task is executing nested workflow, this task execution won’t have action executions. Instead, there will be at least one workflow execution.