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?
Deze oefening maakt deel uit van de cursus
Building Data Pipelines with Airflow
Interactieve oefening met praktijkervaring
Zet theorie om in actie met een van onze interactieve oefeningen
Begin oefening