cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
AT90
New Member

On Error not working

Hello,

 

First an excuse because I know there are similar treads: I looked for similar discussions, but did not find a solution to my problem.

 

Second, I wanted to ask if someone can help me identify my error (I am sure is mine, not from the software): 

I have several actions in my flow with "On Error" declared. All I need to happen is that if there is an error of any kind it jumps to a label further ahead so the process is not completely kill. But even with that being done, anytime the flow runs into an error on the specific line (or error block which I have also tried) it just kills the process.

 

AT90_0-1656518530374.png

 

Here is a picture of how I am trying to handle errors.

 

Thanks for you help and attention.

 

AT90

 

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
VJR
Super User
Super User

I have come across some situations where the error handling is not working as expecting.

Maybe try some other alternative like-

- In the error handler only set an errorvariable. Remove everything else.

Use continue flow run and choose go to next action.

- Then in the next action add an If condition to check if the errovariable is 1 or not and move accordingly. If 1 then use go to label action.

View solution in original post

3 REPLIES 3
VJR
Super User
Super User

I have come across some situations where the error handling is not working as expecting.

Maybe try some other alternative like-

- In the error handler only set an errorvariable. Remove everything else.

Use continue flow run and choose go to next action.

- Then in the next action add an If condition to check if the errovariable is 1 or not and move accordingly. If 1 then use go to label action.

Hello VJR,

 

Thanks so much for your response. I tried this option, seem very promising and had my hopes but it did not work. 

 

The error still kills the flow. 

 

AT90😭

Maybe the problem is with the Outlook built in function.

 

I tried with other error, not outlook related and it did work. 

 

Thanks so much!

 

Guess I will have to be more careful with outlook information.

 

Andres

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Top Solution Authors
Top Kudoed Authors
Users online (4,121)