# prefect-community

Patrick Tan

04/21/2022, 3:43 PM
When running child flows from a parent flow, how to pass parent flow run name to child flow? below does not work.
FYI I moved the image to the thread to keep the main channel cleaner

Patrick Tan

04/21/2022, 4:05 PM
Thanks. I want component of child flow run name same as parent flow run name. Is there a library to generate below so I can use in both parent and child flows

Anna Geller

04/21/2022, 10:55 PM
so the code I shared in Discourse was for setting custom child flow run names. to set a custom parent flow run name, you could use the RenameFlowRun task as described here. you may then set it to the same name as the child flow run. but generally speaking, flow run names are randomly generated so both of those can be thought to be more as workarounds