cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
UB400
Kudo Kingpin
Kudo Kingpin

Help with OData Filters in Flow, when getting Items from Sharepoint

I need to send e-mails using Flow on a Recurrence Trigger when two conditions are met:

 

1. Status="Due"

2. Date=Today

 

So I started out with the Recurrence trigger, set it to run once a day, no problem there.

Next I created a Compose action to get today's date @utcnow()

Connecting to the SP list is straight forward with GetItems

 

I was able to successfully add Status eq 'Submitted'

 

However when I try to add an "and AlertDate eq datetime'ComposeOutput'

 

I get errors.

 

Any help with this would be most appreciated

1 ACCEPTED SOLUTION

Accepted Solutions
v-yamao-msft
Community Support
Community Support

Hi UB400,

 

Have you checked this doc about SharePoint OData Query:
https://docs.microsoft.com/en-us/sharepoint/dev/sp-add-ins/use-odata-query-operations-in-sharepoint-...

 

From this doc we know that when working with datetime, we need to get day, month, and year of the datetime.

 

Please take the doc for a reference and try it on your side.


Best regards,
Mabel Mao

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.

View solution in original post

1 REPLY 1
v-yamao-msft
Community Support
Community Support

Hi UB400,

 

Have you checked this doc about SharePoint OData Query:
https://docs.microsoft.com/en-us/sharepoint/dev/sp-add-ins/use-odata-query-operations-in-sharepoint-...

 

From this doc we know that when working with datetime, we need to get day, month, and year of the datetime.

 

Please take the doc for a reference and try it on your side.


Best regards,
Mabel Mao

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.

View solution in original post

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Did you miss the call? Check out the recording here!

Top Solution Authors
Top Kudoed Authors
Users online (26,801)