Is there a way to put a tag on a Flow in Prefect V...
# prefect-community
n
Is there a way to put a tag on a Flow in Prefect V1?
1
r
You can tag tasks in V1 (see here), but I do not believe you can tag flows. Flows/flow runs can have labels, but those labels apply to the agent that picks up the flow and the execution environment defined in the run config (see here).
n
Thanks. What I'm trying to do is that currently I have a flow A that does everything it needs to do for one customer. And I'm trying to configure a parent flow B that would go through all customers and kick off a flow A for each of the customers. I achieved that, but right now it's kicking off all the flows at the same time and is breaking our resource. I'm trying to kick off those flows in batches so that only 3 flows A are running at the same time in parallel. What would be your recommended way to achieve this? I am not sure if I can achieve that with labels on the flow
r
Are you running on Prefect Cloud? If so you can set concurrency limits on flow A's runs using labels: https://docs-v1.prefect.io/orchestration/flow-runs/concurrency-limits.html#concurrency-limits
n
Yes, I'm running on Prefect Cloud. That's exactly what I was looking for, thank you!! For some reason I totally missed this page of documentation 😅
🦜 1