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
Jeff Hale
03/04/2024, 1:26 AM
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.
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.