I have a step in a flow (Flow A) that publishes an...
# ask-metaflow
l
I have a step in a flow (Flow A) that publishes an event "deploy" and I have another flow (Flow B) that's triggered by this event. How do I get the flow name and run_id of Flow A from Flow B? For
@trigger_on_finish
, I can get the
current.trigger.run
, but this doesn't seem to work for argo events. https://docs.metaflow.org/production/event-triggering/flow-events
1
f
What to do you mean it doesn't work for argo? We do fetch this information from flows run using argo-workflows.
Copy code
for event in current.run.trigger.events:
   # event.id has the trigger flow run id
a
@little-businessperson-8541 was this query resolved in the internal slack channel?
1