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 / Get name of current so...
Power Automate
Unanswered

Get name of current solution

(0) ShareShare
ReportReport
Posted on by 186

Hi All,

 

I have 2 solutions 'Leave Approval' and 'Purchase Order Approval'. Inside of each solution I have a flow called 'Approver Response'. One is the approver response for Purchase Orders and the other is the approver response for the leave approval.

 

Each flow has a try-catch pattern which posts the name of the flow and a link to the failed run to a Microsoft Teams channel. When looking at the posted error message in Teams, there is no way of distinguishing between 'Purchase Order - Approver Response' and the 'Leave Approval - Approver Response'.

 

If I could dynamically get the name of the current solution, I would be able to include it in my error message, thereby making it clear which solution the failed flow run belongs to.

 

My question is, how do I get the name of the current solution in my flow (not the current environment or flow)?

 

Thanks everyone.

Categories:
I have the same question (0)
  • fchopo Profile Picture
    8,003 Moderator on at

    Hi @LKS 

    Unfortunately you can't get the solution name, as you can see by the output of the "list my flows" action:

     

    output.png

    An idea could be to use a variable that stores which is the caller, and pass it to the "Approver Response" flow, so you can distinguish who is the caller.

    Hope it helps!

    Ferran

  • JoshPayneSays Profile Picture
    42 on at

    Hi @LKS ,

     

    I had the same request. While there is no function like workflow() that provides solution-level metadata, one of the power platform family members ( @Expiscornovus  aka Dennis Goedegebuure) has developed a useful workaround.

     

    Dennis demonstrates how to query Dataverse's metadata tables to get solution-level details.

     

    Read Dennis's full explanation here: https://www.expiscornovus.com/2022/01/09/solution-name-and-version-of-flow/

    By Dennis Goedegebuure | Solution-level metadataBy Dennis Goedegebuure | Solution-level metadata

     

     

    Small note: Dataverse connector require a Power Automate Pro licence 😩

    Powerautomate.microsoft.com | Microsoft Dataverse connectors

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 632

#2
Haque Profile Picture

Haque 458

#3
Valantis Profile Picture

Valantis 357

Last 30 days Overall leaderboard