cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
landsend
Resolver II
Resolver II

How to notify upon a flow error in the email step.

Hi,  I have a simple workflow that checks on an expiration date column off a SharePoint list and sends an email upon expiration date coming up in this case 30 days out.  I’d like to have a ‘catch’ if there is a problem with email, basically if that step fails.  I believe its ‘notify’ but not sure how to implement it.  I want to be notified by email if that step fails.  Thanks.

 

landsend_0-1653504096794.png

landsend_1-1653504129909.png

landsend_4-1653504389902.pnglandsend_5-1653504509726.png

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
vivekpande18
Super User
Super User

Hi @landsend ,

 

You can make use of the Try/Catch block to capture the exact error. It is very useful as it will intimate you if it causes an error in any step.

 

Please follow below link to implement it. 

https://www.youtube.com/watch?v=EBXkcfCRGxg

 

Thanks

Vivek Pande

 

If this post helps answer your question, please "Accept as Solution" to help others find it more quickly.

If you thought this post was helpful, please give it a Thumbs Up.

 

View solution in original post

2 REPLIES 2
Rhiassuring
Super User
Super User

Hi there, 

 

It's actually a super useful thing to be able to do, and, easy - once you know how.

 

First (and this seems unintuitive, I realize.) add the action right after your email that you want to happen if it fails. 


Then, in your new action, go into the action settings and select "Configure run after" - and select only "failed". 

You'll see the little arrow to your new action will turn into a red dashed line, indicating an error action. 

You can also still have actions happen on success. 

 

Let us know how you do!

 

Cheers,

 

Rhia

______________________________________________________________


Did this answer your question? Please mark it as the solution.
Did it contribute positively towards finding the final solution? Please give it a thumbs up.

I answer questions on the forum for 2-3 hours every Thursday!



vivekpande18
Super User
Super User

Hi @landsend ,

 

You can make use of the Try/Catch block to capture the exact error. It is very useful as it will intimate you if it causes an error in any step.

 

Please follow below link to implement it. 

https://www.youtube.com/watch?v=EBXkcfCRGxg

 

Thanks

Vivek Pande

 

If this post helps answer your question, please "Accept as Solution" to help others find it more quickly.

If you thought this post was helpful, please give it a Thumbs Up.

 

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (5,352)