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

Community site session details

Session Id : ooVBcvPbn0g8MJPMiFvY4/
Power Automate - Building Flows
Answered

ErrorHandling doesnt work

Like (0) ShareShare
ReportReport
Posted on 27 Apr 2022 07:05:18 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?

I have the same question (0)
  • Verified answer
    tom_riha Profile Picture
    10,149 Most Valuable Professional on 28 Apr 2022 at 13:09:52
    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

MS.Ragavendar – Community Spotlight

We are honored to recognize Ragavendar Swaminatha Subramanian as our September…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 783 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 515 Moderator

#3
trice602 Profile Picture

trice602 299 Super User 2025 Season 2

Last 30 days Overall leaderboard
Loading complete