hi guys! what would be the correct way to have an ...
# ask-community
t
hi guys! what would be the correct way to have an environment-global Flow (i.e. can run on all agents) with environment-specific Flow Runs (i.e. only runs on some agents depending on their labels)? from the docs it seems labels can only be set on Flows, and the
Client.create_flow_run
method doesn't accept a
labels
parameter
a
we are chatting about this internally, but to answer your question there isn't a way to do this with labels currently. The easiest way to achieve what you're looking for is to register separate flows with different labels.