Skip to main content
Workflow executions represent individual runs of a workflow version. When you trigger a workflow, CDF creates an execution that tracks the progress of each task. You can list executions, check their status, cancel running executions, and retry failed ones.

Overview

An execution is a single run of a workflow version. Each execution has a unique ID and tracks the state of every task in the workflow. Executions are created when you trigger a workflow manually or via a trigger.

Execution states

Executions progress through several states:
  • Pending – Queued but not yet started
  • Running – One or more tasks are in progress
  • Succeeded – All tasks completed successfully
  • Failed – One or more tasks failed
  • Canceled – The execution was stopped by a user

Monitoring executions

You can list executions for a workflow or workflow version, optionally filtering by status or time range. For each execution, you can retrieve detailed status including per-task progress, input and output data, and error information when tasks fail.
For a failed, timed out, or terminated execution, retry the tasks that did not finish. See Retrying executions.

Canceling executions

Cancel sets the execution to TERMINATED and stops new tasks from starting. Tasks that are already running are marked CANCELED. Work already in progress continues. Cancel a running transformation separately with the transformations cancel operation.

Retrying executions

Retry restarts a failed, timed out, or terminated execution from the tasks that did not finish. It retries tasks in CANCELED, FAILED, FAILED_WITH_TERMINAL_ERROR, or TIMED_OUT. Optional tasks are not retried. When a failure is inside a subworkflow or a dynamic task, only the nested tasks that failed are retried. The container task is not retried. A task that has already used its retry limit is allowed one more attempt per retry request. The retry count is not reset to zero.

Complete an async task

For a task with isAsyncComplete set to true, set the status when the external work finishes:
  • COMPLETED continues the execution.
  • FAILED retries the task according to its retries setting.
  • FAILED_WITH_TERMINAL_ERROR does not retry the task.
If you send output, it is merged with the task’s existing output.
Last modified on November 2, 2026