in a flow running subflows setting, is there a way...
# ask-community
s
in a flow running subflows setting, is there a way to get the parent flow_run name from a subflow?
I suppose I could pass it in. Not sure about that though. context: when running dbt on snowflake we are setting the query_tag to be the flow_run name. However because it’s a subflow, when we get the notification in slack about the parent, it doesn’t tie up so we would prefer if we tagged the session/s with the parent name
d
I think you can use the API to extract parent flow run id and then query for the flow run name OR just pass it in like you said.
Might also be a good idea to use tags for this.