Hi everyone. I have a question about flows running...
# ask-community
j
Hi everyone. I have a question about flows running flows, or event driven flows. I have a flow that will run and poll for some external state in a database. Once that conditional is met, I want to run a set of other flows. I looked at https://docs.prefect.io/core/idioms/flow-to-flow.html but it seems that my two options are either: 1. Add an entry in the upstream flow to call the downstream flows 2. Add a waiter in the downstream flows that could tie up a flow slot or an agent. Are there any other options for how I can tell a flow what its upstream dependencies are without creating a blocking waiter?
z
HI @jorwoods, I don't think we've got a solution for you yet. This is something we're still figuring out. A user has created a few issues to track the improvement of this at https://github.com/PrefectHQ/prefect/issues/4137
Calling the downstream flows from the upstream flow seems like the best option to me
j
Excellent. Thank you, @Zanie!