[ 
https://issues.apache.org/jira/browse/AIRFLOW-4597?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16884570#comment-16884570
 ] 

jack commented on AIRFLOW-4597:
-------------------------------

[~ash] and isn't that exactly what 
[https://github.com/apache/airflow/pull/4291] is trying to do?

> 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)

Reply via email to