Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

ErrorHandling doesnt work

(0) ShareShare
ReportReport
Posted on by 284

Hello guys,

 

I encountered the following problem. 

 

For my flow(s) I have a Try/catch/finaklly Scope defined to Handle any error, so that the flow constantly beeing succeded even if an error occurs.

 

For Support, if something with the flow is false, I try to recieve the error, package it up in a mail an send it.

So far so good. I found a solution 

RiccoHipp1903_0-1651042493449.png

Get the result('try'), parse it in json with a schema, select the necessary items and write it in an HTML Table attached later to an mail.

 

Works fine...Sometimes. The Problem is, that sometimes the Schema doesn't work. For example:

RiccoHipp1903_1-1651042687894.png

worked really well....

 

RiccoHipp1903_2-1651042938274.png

Here not. 

The Schema doesnt work for all results, and I don't knwo how to handle that.....

What can I do to handle it correctly ?
Doe you need more information?

  • Verified answer
    tom_riha Profile Picture
    10,127 Most Valuable Professional on at
    Re: ErrorHandling doesnt work

    Hello @RiccoHipp1903  ,

    I tried to do the same in the past, but I failed in the same way - the JSON schema changed and it didn't work. In the end I decided to send just a link to the failed flow as you'll have to open the flow anyway.

    concat('https://flow.microsoft.com/manage/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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1