web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How to get Solution ID...
Power Automate
Unanswered

How to get Solution ID inside of Flow

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

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?

Categories:
I have the same question (0)
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    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.

  • Jcook Profile Picture
    7,783 Most Valuable Professional on at
    Hello @Anonymous
    Here is the expressions:
    Flow name:
    workflow()?['tags']['flowDisplayName']

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

    You can copy and paste the exact expressions I pasted above. The only thing you got to check is the main URL per region
    Mine is:
    https://us.flow.microsoft.com/

    If yours is also us.flow. Than you do not have to change anything.

    —Josh
    If you like my post please hit the "Thumbs Up" -- If my post solved your issue please "Mark as a Solution" to help others
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hey @Jcook ,

     

    I might be missing something, but this looks like it grabs the environment name, but not the solution name.

  • Jcook Profile Picture
    7,783 Most Valuable Professional on at
    Hi,

    I have tested this on a flow inside a solution.
    This will generate the flow run

    —Josh
    If you like my post please hit the "Thumbs Up" -- If my post solved your issue please "Mark as a Solution" to help others
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    This answer seems to have helped me locate running jobs in the Solution area.  Thank you.

  • Mohandar Profile Picture
    78 on at

    @Jcook That trick works for me  👍

  • David_MA Profile Picture
    14,614 Super User 2026 Season 1 on at

    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']))))

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 816

#2
Valantis Profile Picture

Valantis 603

#3
Haque Profile Picture

Haque 566

Last 30 days Overall leaderboard