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

Recurring flow

Hi 

 

I'm getting stuck on a recurring flow and hoping somebody can help.  The flow was built to cycle through the data on a sharepoint list 3 times a week and send an email provided that the reminder date was exceeded and the completion date was blank.

 

The first thing i'm getting stuck on is the OData filter.  I tried Completiondate eq 'null' with 'null' being an expression but it didn't like that and returned a date format error.

 

The second thing is that the reminder email is being sent for every item in the list not for the specific items required where reminder date was exceeded and completion date is blank.

 

I've copied my flow so far below.  I'd really appreciate any help.

 

Thanks

 

Adamrecurrance 1.PNGrecurrance 2.PNG 

2 ACCEPTED SOLUTIONS

Accepted Solutions
Pstork1
Dual Super User III
Dual Super User III

The key here is that its an ODATA query so you aren't actually looking for the function Null.  Just use the keyword null without single quotes.  Like this

Completiondate eq null


-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

Pstork1
Dual Super User III
Dual Super User III

You can add additional queries to the Odata filter.  Like this

(CompletionDate eq null) and (ReminderDate le '@{utcNow('yyyy-MM-dd')}')


-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

3 REPLIES 3
Pstork1
Dual Super User III
Dual Super User III

The key here is that its an ODATA query so you aren't actually looking for the function Null.  Just use the keyword null without single quotes.  Like this

Completiondate eq null


-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

Adam_Lpl
Frequent Visitor

Thanks that worked perfectly.  Can I just check on the other part about receiving emails for all items not complete on the list even if the reminder date hasn't passed?

Pstork1
Dual Super User III
Dual Super User III

You can add additional queries to the Odata filter.  Like this

(CompletionDate eq null) and (ReminderDate le '@{utcNow('yyyy-MM-dd')}')


-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

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.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Top Solution Authors
Users online (1,076)