If I set up a "flow of flows" orchestration and sc...
# ask-community
j
If I set up a "flow of flows" orchestration and schedule it, and the flow of flows all runs before the scheduled runs for the individual flows, will the flows just run again (unnecessarily)?
k
Yes those runs are independent so you want to remove the schedule of the subflows
j
Great, thank you!
Will individual cloud hook notifications still work?
or do I need to set up a new one on the flow of flows?
k
You mean automations? Are on your Cloud or Server? They are configured on the subflow level I think
j
cloud
Right now I have a separate slack notification tied to each flow in case it fails. I'm wondering if they will still run
k
Yes it will if they are in the sub Flow definition
j
I've specified them in the prefect cloud interface under settings > cloud hooks. Is that what you mean?
k
Ah yeah I think that should work
j
One other question - Can I easily set up 2 sets of orchestrations within the same "flow of flows"? I need 3 tasks to run in 1 group and separately, 3 in another. Right now prefect is defaulting to running A, then B, then C, then D, even though D is unrelated to A, B, and C. I even specified the right upstream flows.
k
Are you talking about running this concurrently?
j
yea
k
You need to use the
LocalDaskExecutor
because the default executor is a sequential single-threaded executor
Copy code
flow.executor = LocalDaskExecutor()