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?
Latihan ini merupakan bagian dari kursus
Building Data Pipelines with Airflow
Latihan interaktif langsung
Ubah teori menjadi aksi dengan salah satu latihan interaktif kami
Mulai latihan