Skip to content

[FAQ] Why does Kestra allow conditional branches in a single flow? #144

@AsherJD-io

Description

@AsherJD-io

Course

data-engineering-zoomcamp

Question

Why does Kestra support conditional branching (e.g. Yellow vs Green taxi) within one workflow instead of separate flows?

Answer

Conditional branching enables reuse of shared orchestration logic while allowing dataset-specific behavior. This reduces duplication, keeps related logic together, and makes execution paths explicit within a single workflow definition.

Checklist

  • I have searched existing FAQs and this question is not already answered
  • The answer provides accurate, helpful information
  • I have included any relevant code examples or links

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions