cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
HelgeNorvang
Advocate III
Advocate III

Get URL of running Flow instance

Hi, I have a Flow running on a document library (trigger: When a file is added or modified (properties only)).

Now, I need/want to get the URL of the current running Flow instance (and write it to a field of the current document/item).

 

Is it even possible to get this URL? If so, how?

 

Any help would be highly appreciated!

1 ACCEPTED SOLUTION

Accepted Solutions

HI @HelgeNorvang,

 

Yes this is possible. You can use the workflow  expression.

 

https://veenstra.me.uk/2018/06/19/microsoft-flow-which-flow-ran-on-my-item/

 

View solution in original post

5 REPLIES 5

HI @HelgeNorvang,

 

Yes this is possible. You can use the workflow  expression.

 

https://veenstra.me.uk/2018/06/19/microsoft-flow-which-flow-ran-on-my-item/

 

View solution in original post

GabrielStJohn
Microsoft
Microsoft

Hello, @HelgeNorvang!

 

Thank you for posting on the Flow Community Forum! Have you had an opportunity to apply @Pieter_Veenstra‘s recommendation to adapt your Flow? If yes, and you find that solution to be satisfactory, please go ahead and click “Accept as Solution” so that this thread will be marked for other users to easily identify!


Thank you for being an active member of the Flow Community!

 

-Gabriel
Flow Community Manager

- Gabriel
Community Manager
Power Automate | Power Virtual Agents
Super User Program Manager



I'm keeping it open for now. I haven't had the chance to test it yet.

@Pieter_Veenstra 

You saved my day. You are Flow magician!!

P.

ParkerBeck
Frequent Visitor

Here's the naked expression.

concat('https://us.flow.microsoft.com/manage/environments/',workflow().tags.environmentName,'/flows/',workflow().name,'/runs/',workflow().run.name)

 

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (2,899)