Hi, I’m using prefect 2.13.0 on windows and notice...
# ask-community
s
Hi, I’m using prefect 2.13.0 on windows and noticed that if I try to retry a flow from the UI (either after a task has failed, I’ve paused the flow, or I’ve cancelled the flow) it will retry all tasks, even those that were in the “Completed” state. Any ideas how I can get the flow retry feature to only retry non-completed tasks?
d
Are you saving states?
s
I’m not explicitly saving the states. Is there an option to do so?
I am not entirely sure if this has any effect but You are atleast check is persist_result has any impact on it
s
persist_result=True
on the task-level worked. Thanks 🙂