cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

How to use Flow to stop notifications once a condition has been met

First a little background explanation of what I am working on:

 

I have created a SharePoint Online TeamSite with the purpose of facilitating the offboarding of certain employees.

Once it has been made known that an employee is leaving the institution a person has been designated to fill out an offboarding initialization form which collects the employee name, and exit date. Once this has been submitted it kicks off an email to the offboarding employee with a link to a survey they need to complete. Since this is often ignored we want to send a reminder email every 5 days until the survey has been completed (or their exit date has passed). Right now the reminder emails will work as intended, but after the survey has been completed it will continue to send reminders.

 

I have added a column to the Offboard Initialization list called "PI Survey Complete" which is defaulted to 'no', but I would like this to be updated to 'yes' as soon as the employee completes their survey. In order to accomplish this, I made another Flow that should update the initialization list item that includes the same email address as the person completing the survey.  Here are screenshots of what I have so far.

Flow screenshot 1Flow screenshot 2

 

and here is the other Flow that is actually sending the email reminders:

Flow screenshot 3

I feel like the problem lies in the first screenshot under the "Filter Query" field. This is where I believe I need to connect the item from the 'Offboard Initiation' list to the 'PI Offboard Survey' item but I think I am not using the correct syntax.

 

Thanks in advance for any help or suggestions.

2 REPLIES 2
Highlighted
Helper V
Helper V

Re: How to use Flow to stop notifications once a condition has been met

@NCH-Ken 

I have just seen the below, that may help you out.  

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

It may help you in building your flow, I think the paralle branch may help.

Regards,

 

Andrew

 

Highlighted
Community Support
Community Support

Re: How to use Flow to stop notifications once a condition has been met

Hi @NCH-Ken ,

 

Do you want to send the email notification only when the survey has not been finished?

When using do-until, we should select value from the actions within Do-until loop.

About your scenario, please add action Get item within the loop then get the survey complete status from Get item action.

Please check the following image for a reference:

1.PNG

 

Best regards,

Mabel

 

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Top Kudoed Authors
Users online (5,084)