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

Getting a Flow to send an email if all deadlines are OK (it currently only sends an email if a deadline is missed)

Hi,

 

I have created the Flow below that lets me know if a deadline has been reached in an Excel table.  (It has 10 rows).

 

The flow triggers if one of the rows has a 'Yes', i.e. a date has expired.

 

However, I would like to get a message if all dates are fine.  

 

When I add a 'If No' option to my Flow, I get 10 messages instead!  Is there any way if all dates don't = 'Yes'....I can get one simple message to say all deadlines are fine?  Thanks.

 

Capture.PNG 

2 REPLIES 2
Brad_Groux
Community Champion
Community Champion

Initialize a variable for each row, and then an array from those variables. You could then use the filter array to verify if 10 of 10 are yes or no. See Use data operations with Power Automate for more information.

If you could provide an expanded screenshot of your Flow and steps, your Flow run history, and of any detailed error messages you're receiving we could likely better assist you. Also, for the best results, you may want to review How to write a good forum post.

If this reply answers your question or solves your issue, please ACCEPT AS SOLUTION ☑️. If you find this reply helpful, please consider giving it a LIKE.

Thank you very much.

 

Please see 2 screen grabs below.  The Excel table I am using currently has 10 rows.  However, over time it might grow as more records are added.  

 

The Flow works great in that it emails me a warning when an event has expired - but it's trying to make it send some type of 'OK' message when the events are all in date.  Currently no message is sent if all dates are ok.  When I've tried adding to the 'IF No' option, I get 10 messages.

 

Capture1.PNGCapture2.PNG

 

 

 

 

Helpful resources

Announcements
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.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

PA Survey Carousel Image.png

We want to hear from you!

If you are a small business ISV/Reseller, share your thoughts with our research team.

Users online (2,799)