​Workflow ​Components

Get to know the main orchestration components of a Kestra workflow.

Flow

Flow

Flow is a container for tasks and their orchestration logic.

Tasks

Tasks

Tasks are the steps within a flow.

Namespace

Namespace

Namespace is a logical grouping of flows.

Execution

Execution

Execute your flows and view the outcome.

Variables

Variables

Variables are key-value pairs that help reuse some values across tasks.

Inputs

Inputs

Inputs is a list of dynamic values passed to the flow at runtime.

Outputs

Outputs

Outputs allow you to pass data between tasks and flows.

Triggers

Triggers

Trigger is a mechanism that automates the execution of a flow.

Labels

Labels

Labels are key-value pairs used throughout Kestra to provide a user-defined layer of organization for flows and executions across multiple dimensions,\nwithout being limited to a single hierarchy.

Plugin Defaults

Plugin Defaults

Plugin defaults are a list of default values applied to each task of a certain type within your flow(s).

Subflows

Subflows

Subflows allow you to build modular and reusable workflow components.

Errors

Errors

Allow your flow to continue to operate despite errors.

Retries

Retries

Retries handle transient failures in your workflows.

Task timeout

Task timeout

Timeout allows you to set a maximum duration for a runnable task.

Concurrency Limits

Concurrency Limits

Control concurrent executions of a given flow.

Descriptions

Descriptions

You can document your flows, inputs, outputs, tasks, and triggers by adding a description property.

Disabled flag

Disabled flag

The disabled flag is a boolean property that allows you to skip a flow, task, or trigger.

States

States

States control the status of your workflow execution.

SLA

SLA

Assert that your workflows meet SLAs.

Finally

Finally

Set a block of tasks to run at the end of a Flow regardless of task status.

afterExecution

afterExecution

Run tasks after the execution of the flow.

Task Cache

Task Cache

Cache the status and outputs of computationally expensive operations.

Was this page helpful?