Hey all,
Currently working on error handling for a flow by pushing details about the error into a SharePoint List. One of the properties I'd like to push is a link to the Flow run. Before Solutions, this was easy to do. I could build the flow run URL by using the workflow() function to get the Environment, Flow, and Flow Run IDs. In order to build a link to a flow run in a Solution, I need the Solution ID as well. I could hard code this, but I'd rather have it populate dynamically, as I'm going to be moving this through DEV > QA > PROD throughout its life cycle.
TLDR; Is there any way to get Solution ID inside of a flow?
Looks like the old URL structure environment/flow/flowrun actually still works, but I'd still like to know if there's a way to get the solution guid/display name from within a flow.
Proud to be a Flownaut!
Hey @Jcook ,
I might be missing something, but this looks like it grabs the environment name, but not the solution name.
Proud to be a Flownaut!
This answer seems to have helped me locate running jobs in the Solution area. Thank you.
It looks like since you posted this something has changed with the expression builder. To get this to work, I had to write the expression as:
concat(concat(concat(concat('https://make.powerautomate.com/environments/', workflow()?['tags']['environmentName'],'/flows/',workflow()?['name'],'/runs/',workflow()?['run']['name']))))
User | Count |
---|---|
89 | |
41 | |
22 | |
20 | |
16 |
User | Count |
---|---|
138 | |
56 | |
47 | |
36 | |
26 |