What tasks are
A task corresponds to a single node in the workflow DAG. Each task has a status (e.g., pending, running, completed, failed) that reflects the current state of that step. As the workflow progresses, tasks transition through these states.Updating task statuses
You can update task statuses programmatically to integrate external workers or services with CDF workflows. Use the API to mark tasks as in progress, completed, or failed. This allows you to orchestrate long-running or distributed work across your systems.Task status updates are typically performed by workflow workers or automation services that execute the actual work defined by each task.
Key operations
- Update status: Report progress, completion, or failure for a task.
- Retrieve tasks: List or get tasks associated with a workflow execution.
- Filter by status: Find tasks in a specific state (e.g., pending, running, failed).