shijas km

01/31/2022, 4:11 PM
hi I have a flow running in prefect cloud which is having three tasks , suppose if third task fails due to an issue with code, so I correct the code and register the flow again with prefect cloud so now if I restart the flow will it run from third task or restart from beginning ? how its working

Kevin Kho

01/31/2022, 4:14 PM
A re-registration will bump up the Flow version and it will kick off a new Flow run. So it will run again. If you apply caching though , the new flow run will respect the caches and it will run the third task For script based storage like Git storage, you might be able to run minor changes without re-registration because that one loads the code from the repo.

shijas km

01/31/2022, 4:17 PM
thanks let me check