[ https://issues.apache.org/jira/browse/AIRFLOW-4597?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16883928#comment-16883928 ]
Ash Berlin-Taylor commented on AIRFLOW-4597: -------------------------------------------- Similar but not quite the same - the difference here is that they are asking for the state of any runs, ExternalTaskSensor still needs a specific execution_date to look at. > Add DagStateSensor > ------------------ > > Key: AIRFLOW-4597 > URL: https://issues.apache.org/jira/browse/AIRFLOW-4597 > Project: Apache Airflow > Issue Type: Wish > Components: contrib > Affects Versions: 1.10.3 > Reporter: HaloKu > Priority: Major > > Airflow offers variety of sensor to poke DAGs. > Most of them are time based or execution_date base. > I have use case where all I care about is the DAG state. > DAG has 3 states: Completed, Running, Failed (The sensor is on DAG level. not > on task level.) > For example: > DAG A, DAG B > B can run only if A is not in "Running" state. > I don't care which execution_date A has. Simply B start only if A doesn't > have active run. > > > > > > -- This message was sent by Atlassian JIRA (v7.6.14#76016)