Hi. I have a scheduled, parameterized flow that missed a few flow runs. Is there a quick way to re-run a failed flow with the same parameters? My flow relies on the flow start date (context variable). I am using Prefect Cloud.
j
Jenny
07/24/2020, 8:18 PM
Hi @Pedro Machado - Do you want to restart the failed flow-run? If so, the easiest way might be to use the re-start button at the top of the flow run page in the Cloud UI.
:upvote: 1
p
Pedro Machado
07/24/2020, 8:21 PM
That's what I tried first but it didn't let me because the flow never ran. The reason it failed is because the agent was down too long.
I just realized that I can set the flow state to Scheduled and it will re-run it. Is this the recommended way to re-attempt a flow?
If I do this, will it use the original
scheduled_start_time
or will it create a new schedule?
j
Jenny
07/24/2020, 8:30 PM
That's a great question. Let me double check that for you.
Hi @Pedro Machado - just checked and yes the scheduled start time should stay the same.