cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Dual Super User
Dual Super User

ODATA to filter Get Items Sharepoint: DateTime values

Hi all 

I am trying to get items from a Sharepoint list matching a specific rule, so a date from a column called 'LastHistoryUpdate' shall be equal or greater than 1st of October.

 

I've tried with the following ODATA expressions, however, Flow does not include in the response the only item from the List where 'LastHistoryUpdate' is set to 1st of October (2018-10-01 as shown in the screenshot).

 

 
LastHistoryUpdate ge '2018-10-01T00:00:00.0000000Z'
 
LastHistoryUpdate ge datetime'2018-10-01T00:00:00.0000000Z'

 

Sure there must be a workaround by using Filter Array instead, but due to efficiency reasons I need to solve it via ODATA filter (as explained at https://docs.microsoft.com/en-us/previous-versions/dynamicsnav-2016/hh169248(v=nav.90)

 

Suggestions are welcome!

 

ODATA_filure.png

 





If anybody solved your question, remember to mark its post as a solution!

Proud to be a Flownaut!





1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: ODATA to filter Get Items Sharepoint: DateTime values

Hi @efialttes,

 

I have made a test on my side and don't have the issue that you mentioned.

 

The expression LastHistoryUpdate ge '2018-10-01T00:00:00.0000000Z'  is worked on my side.

 

The screenshot of my flow as below:

Capture.PNG

 

The flow would run successfully as below:

Capture.PNG

 

Please make sure you list have items that meet the condition in the Filter Query.

 

 

Best regards,

Alice

View solution in original post

1 REPLY 1
Community Support Team
Community Support Team

Re: ODATA to filter Get Items Sharepoint: DateTime values

Hi @efialttes,

 

I have made a test on my side and don't have the issue that you mentioned.

 

The expression LastHistoryUpdate ge '2018-10-01T00:00:00.0000000Z'  is worked on my side.

 

The screenshot of my flow as below:

Capture.PNG

 

The flow would run successfully as below:

Capture.PNG

 

Please make sure you list have items that meet the condition in the Filter Query.

 

 

Best regards,

Alice

View solution in original post

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

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

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 302 members 5,900 guests
Please welcome our newest community members: