I want to be able to get the run id for a flow when it is kicked off.
Is there an expression that will allow this?
Regards,
Ali
6/26/2018 21:04 | 08586715615213317469741717188CU49 | Succeeded | https://flow.microsoft.com/manage/environments/Default-8b30192e-1388-4ed6-8208-e35dd72ad2ad/flows/7cbe0cc3-b60c-470c-9782-012b6624a509/runs/08586715615213317469741717188CU49 |
workflow().run.name
Want the entire URL?
concat('https://us.flow.microsoft.com/manage/environments/',workflow().tags.environmentName,'/flows/',workflow().name,'/runs/',workflow().run.name)
From this thread
It has a reference to here:
https://sharepains.com/2018/06/19/microsoft-flow-which-flow-ran-on-my-item/
Which looks like you can get it from using an expression workflow() and the run id appears to be stored in the workflows JSON object under run->name so probably something like workflow()?['run']?['name']
Hi @Anonymous,
I afraid that there is no any way to get the run id for a flow when it is kicked off in microsoft flow currently,
If you would like this feature to be added in Microsoft Flow, please submit an idea to Flow Ideas Forum:
https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas
Best regards,
Alice
rpersad
16
David_MA
10
Super User 2025 Season 1
Michael E. Gernaey
8
Super User 2025 Season 1