cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
rolanddaane
Helper I
Helper I

Get link to a flow job (ListCallbackUrl)

Hi,
I'm looking for the link to the run of a flow in power automate.

A user inserts data into a list, which triggers a flow.
I want to send the user a link to that job so they can restart it.

any ideas on how to achieve?

 

If I create a variable (or a compose) and put the listcallbackurl() in it, I get the following error:
Unable to process template language expressions in action 'Compose inputs at line '1' and column '29848': 'The template function 'listCallbackUrl' is not expected at this location.'.

 

In case of a variable:
Unable to process template language expressions in action 'Initialize_variable' inputs at line '1' and column '29847': 'The template function 'listCallbackUrl' is not expected at this location.'.

1 ACCEPTED SOLUTION

Accepted Solutions
efialttes
Super User
Super User

Hi!
workflow() function should do the trick
I am using this expression to build a link to the flow execution screen when something fails, please note I am working in EMEA region, that's why the link starts with 'https://emea.flow...'

 

 

concat('https://emea.flow.microsoft.com/manage/environments/',workflow()?['tags']?['environmentName'],'/flows/', workflow()?['tags']?['logicAppName'],'/runs/',workflow()?['run']?['name'])

 

 

Hope this helps 



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



View solution in original post

2 REPLIES 2
efialttes
Super User
Super User

Hi!
workflow() function should do the trick
I am using this expression to build a link to the flow execution screen when something fails, please note I am working in EMEA region, that's why the link starts with 'https://emea.flow...'

 

 

concat('https://emea.flow.microsoft.com/manage/environments/',workflow()?['tags']?['environmentName'],'/flows/', workflow()?['tags']?['logicAppName'],'/runs/',workflow()?['run']?['name'])

 

 

Hope this helps 



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



View solution in original post

This one works Excellent! thanks.

 

Helpful resources

Announcements
2022 Release Wave 1 760x460.png

2022 Release Wave 1 Plan

Power Platform release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Users online (3,461)