https://prefect.io logo
Title
n

Nick McGoye

10/05/2022, 6:57 PM
Hi everyone! I'm sure this has been answered but I’m struggling to find in the documentation. I want to schedule a flow, but I only want to have that flow run once another flow in my Prefect Cloud instance has completed successfully. Can someone point me in the right direction? I’m using Prefect 1. Thanks!
1
m

Mason Menges

10/05/2022, 7:06 PM
Hey @Nick McGoye You'd likely need to use some combination of create_flow_run and wait_for_flow run to accomplish this> here's a discourse article that works through a similar use case https://discourse.prefect.io/t/how-to-build-a-conditional-flow-of-flows-i-e-trigger-a-different-child-flow-depending-on-the-upstream-flows-state/202
n

Nick McGoye

10/05/2022, 7:19 PM
Interesting, I'll take a look at this. Appreciate it!