Just want to from which API can I create a dependent task? , A, B,C,D like these are my task and D t...
a
Just want to from which API can I create a dependent task? , A, B,C,D like these are my task and D task need to be executed when A and B task fails and C task will be executed with the input results of A and B.
a
You can set D as having A and B as upstream tasks, along with a trigger for it to execute when A and B fail (maybe
all_failed
or
any_failed
). For C, you just write it with the results of A and B as arguments.
upvote 3
a
Thanks @Amanda Wee
@Amanda Wee ! Gone through the examples. Worked perfectly! But not able to pass the argument while using upstream.
a
I suggest showing a simplified code example here, then someone might be able to help you get it to work.
k
Could you show me what you tried? I can see why it would be tricky