hi folks! i have a pipeline like : task1 -> ta...
# prefect-community
b
hi folks! i have a pipeline like : task1 -> task2(mapped) -> task3 If some of child tasks of task2 finished with state Failed , it could not trigger further task. How can i to start task3 forced if task2 failed??
a
Hi @bral You would want to use triggers. Check this out https://docs.prefect.io/api/latest/triggers.html#functions
b
Thank ! could you please provide a minimal code snippet ? I do not understand. in my case it doesn't matter how the task is finished, I want to start a further task. how can multiple triggers be used in one task?
d
Hi Bral, this doc may also be helpful: https://docs.prefect.io/core/concepts/tasks.html#triggers
Tasks usually only have one trigger, just of different varieties
It sounds like you’re looking for the “all_finished” trigger
upvote 1
👍 1
v
I love that description for the docs is "Don't panic"
😄 2