I need a script that restart a lot of flow run. I'...
# prefect-community
d
I need a script that restart a lot of flow run. I'm able to get the flow runs, however I'm not sure if the mutation to restart them. We had about 600 failed run because of infra that I need to restart
a
Sorry to hear about the infra outage. If by restart, you mean to create a new flow run for each, check this page
d
I would like the equivalent of the restart on the flow run page. Tried to capture the graphql but couldn't find it
Thank you for your word. Could try as well to recreate be flow but would prefect the restart option
a
this restart functionality is mainly a feature available through UI. I was trying to find the original PR that added Restarts but couldn't find it - this is one example PR What I want to say is: restart is a complex operation that requires many steps, this couldn't be solved with a single mutation
d
Ok. I was hoping to be a single mutation. In this case restarting the flow with a mutation will be easier. Thank you
🙌 1