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 / Error Handling Nested ...
Power Automate
Unanswered

Error Handling Nested Actions in Power Automate

(1) ShareShare
ReportReport
Posted on by

Hello,

 

I was looking at a way to get the error message from nested actions inside a Scope container. I have the example below:

bstroescu_1-1665775040151.png

 

 

The "Scope Space" action has 3 actions: there is a "Condition" with a "Compose" action nested, there is a "Condition 2" with a "Compose-String" nested. I can use result('Scope_Space') to get the output, but if the compose actions fail inside the conditions, I won't be able to see the actual error message from the Compose action. All I see is the error message from the first level "An action failed. No dependent actions succeeded.":

bstroescu_2-1665775301983.png


Is there a way to get the actual error message from the nested action? Using child flows is not a good idea because in the real scenario where I have this flow there are about 6 levels of nesting.

 

Any ideas or resources to read would be helpful. Thank you!

Categories:
I have the same question (0)
  • Sundeep_Malik Profile Picture
    6,499 on at

    Hey @bstroescu 

    Try this:

     

    Add that compose in a scope action. Outside that scope make another compose. Set its configure run after to has failed.

    In that compose write.

    result('ScopeName')      [Default: result('Scope')]

    This will give show you the action name, inputs/outputs, result of the action(succeeded, failed).

     

    Sundeep_Malik_0-1665807235417.png

     
     
     

    Sundeep_Malik_0-1665807445371.png

     

  • bstroescu Profile Picture
    on at

    Hi @Sundeep_Malik,

    Thanks for the reply. I tried that and the syntax:  result('ScopeName')      [Default: result('Scope')] doesn't work. Not sure what you were trying to do there.

  • Sundeep_Malik Profile Picture
    6,499 on at

    @bstroescu 

    Only write 

     

    result('ScopeName')

     

     

    result('Scope') is just the default because if you don't rename the scope then it is just the scope.

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 March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 605

#2
Valantis Profile Picture

Valantis 340

#3
11manish Profile Picture

11manish 284

Last 30 days Overall leaderboard