Florian Giroud

09/27/2022, 10:57 PM
Hi, maybe a stupid question here, I’m new to prefect and have no prior experience with prefect 1.0 - only using the V2 Basically I’m evaluating the product, and have a question Let’s imagine a complex flow composed of 8 tasks (could be subflows) - one of them fails. How do I re-run everything only starting with the failed task/subflow ? Tx

Mason Menges

09/27/2022, 11:01 PM
Hey @Florian Giroud you can use cacheing to persist task results, i.e the flow would run again but it would use the persisted results for successful tasks runs while re-running the failed tasks 😄
🙌 1

Florian Giroud

10/03/2022, 8:14 PM
Thanks, sorry it took me so long to get back, that would work. But I guess we will need to implement our own mecanism to be able to choose which tasks we need to re-run