Branching with HITLBranchOperator
A complaint-routing pipeline uses HITLBranchOperator to let a human choose which team handles each ticket. The Dag is deployed — trigger a run, pick a branch, and see how Airflow handles the rest.
Follow these steps:
- In the Dags view, activate
complaint_routerand trigger a run. - Open the latest run and wait until the
route_complainttask shows the deferred state. - In the Required Actions tab, select Billing Issue and submit your response.
- Switch to the Graph view and look at the state of each task.
After selecting "Billing Issue", what happens to the tasks you did not select?
Este exercicio faz parte do curso
Building Data Pipelines with Airflow
exercicio interativo prático
Transforme teoria em prática com um dos nossos exercicio interativos
Iniciar exercicio