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
Amanda Wee
04/03/2022, 1:22 PM
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
Atul Anand
04/03/2022, 1:32 PM
Thanks @Amanda Wee
Atul Anand
04/04/2022, 4:05 AM
@Amanda Wee ! Gone through the examples. Worked perfectly! But not able to pass the argument while using upstream.
a
Amanda Wee
04/04/2022, 6:35 AM
I suggest showing a simplified code example here, then someone might be able to help you get it to work.
k
Kevin Kho
04/04/2022, 1:55 PM
Could you show me what you tried? I can see why it would be tricky
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.