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_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Users online (1,916)