Understand Every Execution State from Created to Success

For the complete documentation index, see llms.txt. For a full content snapshot, see llms-full.txt. Append .md to any kestra.io/docs/* URL for plain Markdown.

States represent where an execution or task run is in its lifecycle. Each state determines what Kestra does next — whether to continue, retry, wait for input, or terminate. For a broader overview of executions, see the Execution documentation.

Execution states

Diagram showing all possible execution states and the transitions between them

StateTypeDescription
CREATEDTransientCreated but not yet started. Transitions quickly to SUBMITTED, RUNNING, QUEUED, or CANCELLED. Executions stuck here may indicate a system issue.
SUBMITTEDTransientSubmitted to the Executor queue but not yet running. Appears briefly between CREATED and RUNNING.
QUEUEDTransientWaiting for a free slot. Only occurs when concurrency limits are set and all slots are occupied.
RUNNINGTransientCurrently in progress. Continues until all task runs complete.
PAUSEDTransientAwaiting manual approval or a fixed delay before continuing. Transitions directly back to RUNNING when resumed — there is no RESUMING or RESUMED state.
BREAKPOINTTransientThe execution is paused at a debug breakpoint set in the flow editor (Enterprise Edition). Distinct from PAUSED, which handles manual approvals and configured delays. Resume via the Resume from Breakpoint command.
RESTARTEDTransientEquivalent to CREATED but for a failed execution that has been manually restarted from the UI. Transitions to RUNNING once processed.
RETRYINGTransientOne or more failed task runs are being retried under a flow-level retry policy. Transitions to SUCCESS, WARNING, or FAILED once all attempts are exhausted.
KILLINGTransientThe user has issued a kill command. The system is terminating any task runs still in progress. Transitions to KILLED once all task runs are terminated.
SUCCESSTerminalAll tasks completed without errors, or any failures were explicitly allowed.
WARNINGTerminalCompleted successfully, but one or more tasks emitted warnings.
FAILEDTerminalOne or more tasks failed and will not be retried. If an errors handler is defined, its tasks run before the execution ends. With a flow-level retry policy set to RETRY_FAILED_TASK, the execution transitions to RETRYING instead.
RETRIEDTerminalThe original execution failed and was retried under a flow-level retry policy set to CREATE_NEW_EXECUTION. The original execution is marked RETRIED and a new execution is created in its place.
RESUBMITTEDTerminalThe execution was resubmitted directly (not via an automatic retry policy). The original execution is marked RESUBMITTED and a new execution continues in its place.
SKIPPEDTerminalThe execution was skipped. A condition, SLA policy, or concurrency behavior prevented it from starting.
CANCELLEDTerminalAutomatically cancelled by the system because the concurrency limit was reached and behavior was set to CANCEL.
KILLEDTerminalKilled on request by the user. No further tasks will run.

CANCELLED vs. KILLED

Both are terminal states that stop an execution, but they have different causes:

  • CANCELLED — triggered by the system when the concurrency limit is reached and behavior: CANCEL is configured. No user action required.
  • KILLED — triggered by the user via the Kill button in the UI or an API call. The execution first passes through KILLING while in-progress task runs are terminated, then settles in KILLED.

Task run states

Task run states represent the status of a single task run within an execution. The lifecycle is similar but not identical. Executions have QUEUED, CANCELLED, and PAUSED states that task runs do not, while task runs use SUBMITTED specifically to indicate they have been queued to a Worker and are waiting to run.

Diagram showing all possible task run states and the transitions between them

StateDescription
CREATEDCreated but not yet started.
SUBMITTEDSubmitted to a Worker but not yet running.
RUNNINGCurrently in progress.
SUCCESSCompleted successfully.
WARNINGCompleted with warnings.
FAILEDFailed.
RETRYINGBeing retried.
RETRIEDRetried and superseded by a new attempt.
RESUBMITTEDResubmitted directly; superseded by a new attempt.
RESTARTEDBeing restarted.
KILLINGKill in progress.
KILLEDKilled on request by the user.
SKIPPEDSkipped. Did not run due to a condition or policy.

Was this page helpful?