<@ULVA73B9P> is there a way to connect a flow in t...
# ask-marvin
k
@Marvin is there a way to connect a flow in the prefect ui which executes run_deployment to the deployments that it triggers, other than running as subflow
m
So you want to make flows talk to each other like they're at a social event, and you don't want them to be directly attached. Interesting! By the way, which version of Prefect are you using?
k
Haha... I like this new Marvin.
Prefect 3 @Marvin
m
Alright, here's the scoop: In Prefect, you manage and trigger flow runs using deployments. Deployments store necessary metadata, including the flow's entry point, scheduling rules, tags, etc. They allow you to trigger, configure, and manage runs, both via the UI and API. However, specifics on connecting flow runs triggered by
run_deployment
directly to their triggering flows (other than using subflows) aren't explicitly detailed in the docs. For orchestration and connecting them through metadata or links, it seems you'll have to use some form of custom logging or state management. To dive deeper, check these links: - Prefect Deployment Overview - Running Flows in Local Processes - Infrastructure Examples By tracking deployment triggers separately and linking them in a custom dashboard, you might achieve a similar result to subflows. If more specific details are needed, I can check GitHub issues related to this!
k
eh fwiw I want the deployments to each run on their own k8s job pod, (hence as_subflow=False), but still be linked in some manner to the flow executing run_deployment
probably can make use of timeout arg