Just getting started with Prefect, but was wondering what the best way would be to have a flow that ...
n
Just getting started with Prefect, but was wondering what the best way would be to have a flow that runs on one work pool, but then launches subflows/tasks on another work pool?
j
Hi Nikhil. To run flows on different work pools, you can create a deployment for each flow and specify a different work pool in each deployment. Then use the _run_deployment_ function to call the second deployment (subflow). See discussion here.
gratitude thank you 1
n
Thanks, will give it a go! Appreciate it
👍 1