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

Sending reminder email until SharePoint list item field value not null

Hi,

 

I trying to send a reminder email to user to fill up a Microsoft form, this reminder will be repeatedly sent until user has completed the form and the SharePoint list item value has been updated with the value, becoming not null.

 

I having issue writing the condition for Do Until Action. What I intended is to firstly check the validation for the same unique ID (Employee ID), in the form and SharePoint. Second item to check is the entry in the SharePoint with the same unique ID whether the other field is still empty, in this case, Email group field.

 

The current condition I have come up with, which is not correct. As it still continue to sent reminder email even after the field is not longer empty. Or is there something I'm missing.

@And(equals(body('Get_response_details')?['r977e392e5f9d406abd8044a638c8ab80'], items('Apply_to_each')?['Staff_x0020_ID']), not(equals(items('Apply_to_each')?['Email_x0020_group'], '')))

 

flow.PNGsharepoint.PNG

 

 

Thanks in advance.

1 ACCEPTED SOLUTION

Accepted Solutions

 

Hi @Zhiyang ,

 

Maybe you could create two flows to achieve your needs.

 

One Flow is to get the response from the form, and get the item by the employee ID and update the item through the submission.

One Flow is to check if the specified field is empty, as @sudharsan1985 suggested, use Recurrence as the trigger and check all items.

 

If the specified is empty, send a notification to the user to fill the form.

 

Hope this helps.

 

Best Regards,

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

View solution in original post

4 REPLIES 4
Super User
Super User

@Zhiyang 

Can you try using the 'Scheduler Flow' so that you don't have to make the flow wait. Usually the reminder emails are sent on a daily basis which can easily achieved using the 'Scheduler Flow'. Moreover you can check all the users whoever hasn't submitted the form and send them an email to all of them.

 

Hope it helps, please like it or mark it as a solution if it resolves ur clarification or issue
-Sudharsan K...

Hope it helps, please like it or mark it as a solution if it resolves your clarification or issue
-Sudharsan K...

@sudharsan1985 

 

Thanks for the advise, but would it be possible to continue using this method?

 

Reason being this Form is an URL link and is not tied to the person. This link is sent via email for the user to fill up.

 

 

@Zhiyang 

Since this form is not tied to any user, then you can directly send the link in the scheduler rite. If you still insists on using this method, then I need to check how the 'Do Until' works. Maybe what you can do is store each individual value that is used for condition in a separate variable.

 

Hope it helps, please like it or mark it as a solution if it resolves ur clarification or issue
-Sudharsan K...

Hope it helps, please like it or mark it as a solution if it resolves your clarification or issue
-Sudharsan K...

 

Hi @Zhiyang ,

 

Maybe you could create two flows to achieve your needs.

 

One Flow is to get the response from the form, and get the item by the employee ID and update the item through the submission.

One Flow is to check if the specified field is empty, as @sudharsan1985 suggested, use Recurrence as the trigger and check all items.

 

If the specified is empty, send a notification to the user to fill the form.

 

Hope this helps.

 

Best Regards,

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

View solution in original post

Helpful resources

Announcements
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (37,040)