hello everyone, I am using create_flow_run() task ...
# prefect-community
b
hello everyone, I am using create_flow_run() task in a parent flow to trigger a flow.So when this flow failed in halfway.So my parent flow should restart it instead creating a new flow all together. but how to achieve the former case?
1
s
Hello @Bal Raj, I am assuming you are using Prefect 1.0, here is a great example of restarting the flow using Prefect.Client when a flow fails https://github.com/PrefectHQ/prefect/issues/5516, Hopefully this was helpful!