You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@airflow.apache.org by Veeranagouda Mukkanagoudar <mu...@gmail.com> on 2018/01/10 17:21:16 UTC
Question on Task dependency
I have scenario, where i need to move on to next task even if the upstream
task is failed, as long as upstream task execution is done.
Set_upstream and set_downstream methods trigger downstream task only on
success, is there a way to implement this scenario?
-Veera
Re: Question on Task dependency
Posted by Veeranagouda Mukkanagoudar <mu...@gmail.com>.
Thanks Shah. that works.
On Wed, Jan 10, 2018 at 9:33 AM, Shah Altaf <me...@gmail.com> wrote:
> Hi you could have a look at the trigger_rule on your operator -
>
> See: https://airflow.apache.org/concepts.html#trigger-rules
>
> Hope that's what you meant
>
>
> On Wed, Jan 10, 2018 at 5:21 PM Veeranagouda Mukkanagoudar <
> mukkanagoudar@gmail.com> wrote:
>
> > I have scenario, where i need to move on to next task even if the
> upstream
> > task is failed, as long as upstream task execution is done.
> >
> > Set_upstream and set_downstream methods trigger downstream task only on
> > success, is there a way to implement this scenario?
> >
> > -Veera
> >
>
Re: Question on Task dependency
Posted by Shah Altaf <me...@gmail.com>.
Hi you could have a look at the trigger_rule on your operator -
See: https://airflow.apache.org/concepts.html#trigger-rules
Hope that's what you meant
On Wed, Jan 10, 2018 at 5:21 PM Veeranagouda Mukkanagoudar <
mukkanagoudar@gmail.com> wrote:
> I have scenario, where i need to move on to next task even if the upstream
> task is failed, as long as upstream task execution is done.
>
> Set_upstream and set_downstream methods trigger downstream task only on
> success, is there a way to implement this scenario?
>
> -Veera
>