https://prefect.io logo
Title
c

Charles Leung

05/10/2023, 9:25 PM
Hi Everyone, is there a way to have a deployment retry not from point of failure, even though I have persist_result=True? For example, I have a deployment with 10 tasks, and it fails on task 5. I would like it to restart from task 2 with different params, even though there may be other times where I want it to restart from task 5. Is there a way to achieve this without needing to alter the code?
d

Deceivious

05/10/2023, 9:38 PM
No.
You could write your code so that you can create a new flow run that uses the cache from previous flow run until the point where you want the cache to be invalidated.