You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/08/07 16:17:21 UTC

[GitHub] [airflow] raphaelauv commented on issue #17010: Add a trigger rule to support all_done_and_one_success

raphaelauv commented on issue #17010:
URL: https://github.com/apache/airflow/issues/17010#issuecomment-894674524


   the trigger rule `none_failed_or_skipped` is a solution to your use case  -> https://airflow.apache.org/docs/apache-airflow/2.1.2/concepts/dags.html?highlight=none_failed_or_skipped#trigger-rules
   
   ```python
   task_at_least_one_previous_succes = SomeOperator(
                                                                    trigger_rule = "none_failed_or_skipped",
                                                                    ....
                                                                  )
   
   [task_a,task_b,task_c] >> task_at_least_one_previous_succeed
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org