What I’m trying to do is run a set of worker flows in multiple environments/sites, but without registering a separate flow for every combination. What I currently do is exactly that; so think for flow
worker1
I’ll have to register
dev-site1-worker1
,
dev-site2-worker1
,
qa-site1-worker1
and so on. I store these in Gitlab under branches (dev, qa, etc as explained above).
What I would like to do is have my folder
workers
, which would exist in each branch, and then have 1 scheduled worker that calls
StartFlowRun
and specifies “I am an agent with the
prod
label, so I will look for flow
worker1
under the
prod
branch.” This way I minimize the number of flows that I have to dig through when I’m manually running something.
So the question is; is it possible to tell
StartFlowRun
to pull a flow from a specific location, or is there a more obvious way to store flows for multi-environment use that I’m missing