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/09/30 12:29:34 UTC

[GitHub] [airflow] AlexBogs commented on issue #17010: Add support for custom Trigger Rule logic

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


   It'd be nice to be able to have custom trigger rule.
   I personally need 'all done and none upstream_failed'  rule after an 'optional' task. If 'optional' task fails by itself then downstream tasks should proceed, but if it has upstream_failed then downstream tasks should have upstream_failed status too.
   
   It's possible to make desired behavior by adding 2 dummy tasks: 1 downstream from the 'optional' task with the 'all_done' rule, and another one afterwards with 'all_success' rule and the 'optional' task parents included too, but it will make already bloated DAG even bigger.


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