Check for multiple tasks using ExternalTaskSensor

Viewed 249

I have a use case in which Task A of DAG1 should run once the TASK B and TASK C of DAG2 are completed.

I am using ExternalTaskSensor, but to achieve this scenario I have to create two different sensors sensing the TASK B and TASK C each.


Is is possible to achieve this using a single sensor wherein I can provide a list of Tasks for which the sensor should wait.

0 Answers
Related