https://prefect.io logo
j

Jason Motley

02/02/2022, 5:26 PM
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

Kevin Kho

02/02/2022, 5:27 PM
Yes those runs are independent so you want to remove the schedule of the subflows
j

Jason Motley

02/02/2022, 5:28 PM
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

Kevin Kho

02/02/2022, 5:30 PM
You mean automations? Are on your Cloud or Server? They are configured on the subflow level I think
j

Jason Motley

02/02/2022, 5:43 PM
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

Kevin Kho

02/02/2022, 5:44 PM
Yes it will if they are in the sub Flow definition
j

Jason Motley

02/02/2022, 5:46 PM
I've specified them in the prefect cloud interface under settings > cloud hooks. Is that what you mean?
k

Kevin Kho

02/02/2022, 5:48 PM
Ah yeah I think that should work
j

Jason Motley

02/02/2022, 6:21 PM
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

Kevin Kho

02/02/2022, 6:23 PM
Are you talking about running this concurrently?
j

Jason Motley

02/02/2022, 6:24 PM
yea
k

Kevin Kho

02/02/2022, 6:25 PM
You need to use the
LocalDaskExecutor
because the default executor is a sequential single-threaded executor
Copy code
flow.executor = LocalDaskExecutor()
5 Views