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 ejercicio forma parte del curso
Building Data Pipelines with Airflow
ejercicio interactivo práctico
Convierte la teoría en práctica con uno de nuestros ejercicios interactivos
Empezar ejercicio