Is there a way to restart a flow run from the begi...
# ask-community
l
Is there a way to restart a flow run from the beginning rather than from failed/cancelled task state?
k
It would be easier to just create a new flow run. You would have to move all the states of the tasks back into scheduled.
l
Ok, is there a way to inject the
scheduled_start_time
context value in a new flow run?
k
If you create a new flow run, it just creates a Flow with schedule “now”. I think I would use Python and the
create_flow_run
task with the schedule you want, and then because it’s late it will just start immediately.
I would just use this and call the
.run()
method. No need to put it in a Flow
👍 1