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?
This exercise is part of the course
Building Data Pipelines with Airflow
Hands-on interactive exercise
Turn theory into action with one of our interactive exercises
Start Exercise