https://prefect.io logo
Title
n

nicholasnet

04/28/2023, 3:01 PM
Good morning can we have multiple flow per deployment?
n

Nate

04/28/2023, 8:05 PM
hi @nicholasnet - if I understand correctly, no, but you can have multiple deployments of a given flow. A deployment must have exactly one flow listed as the entrypoint, so even though this main / entrypoint flow can call other flows (subflows), each deployment has exactly one entrypoint flow associated with it does this answer your question?
n

nicholasnet

05/01/2023, 2:39 PM
Yes thank you very much.
👍 1
r

redsquare

05/01/2023, 5:33 PM
no, the deployment references a single flow, nothing stopping you calling other sub flows however from the main flow
n

nicholasnet

05/01/2023, 5:34 PM
yeah but sub flows does not show up in the flow list and sub flows cannot be executed directly as far as I know.
r

redsquare

05/01/2023, 5:38 PM
you can create flow runs inside a flow
n

nicholasnet

05/01/2023, 5:45 PM
and that flow will show up in list of flows as well?