<h3 dir="auto">Description</h3>
<p dir="auto">Currently, there is support only for one_success trigger_rule, which starts the task instance the moment after one of the upstream tasks succeeds. The idea for the new trigger_rule is to wait for all upstream tasks to be done and at least one of them succeed.</p>
<h3 dir="auto">Use case/motivation</h3>
<p dir="auto">The use case is to allow a OR-like behavior to trigger_rules.<br>
Maybe even XOR-like behavior could be added as a second extra trigger_rule.</p>
<h3 dir="auto">Related issues</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">Are you willing to submit a PR?</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Yes I am willing to submit a PR!</li>
</ul>
<h3 dir="auto">Code of Conduct</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I agree to follow this project's <a href="https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md">Code of Conduct</a></li>
</ul>
<p dir="auto"><strong>Description</strong><br>
I would like to have a trigger rule that triggers a task if all the upstream tasks have executed (<em>all_done</em>) and there is atleast one successful upstream task. This would be like the trigger rule: <em>one_success</em>, except it'll wait for all upstream tasks to finish.</p>
<p dir="auto"><strong>Use case / motivation</strong><br>
I have downstream tasks that should run after all the upstream tasks have finished execution. I can't trigger the downstream task if none of the upstream tasks pass, but I need to trigger it if even one of them passes.</p>
<p dir="auto"><strong>Are you willing to submit a PR?</strong><br>
I can work on a PR, if the feature is approved.</p>