web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Why GetItems is return...
Power Automate
Unanswered

Why GetItems is returning 5547 items out of 6321

(0) ShareShare
ReportReport
Posted on by 3,514

I have a GetItems action with this settings, where i am filtering the items using a SharePoint field named ExpiryDate of type DateOnly (without time):-

 

johnjohn123_0-1681123919402.png

 

First thing I defined this Filterquery:-

 

johnjohn123_1-1681124436586.png

 

which will result in this Filter Query:-

 

((ExpiryDate eq '2023-04-22') or (ExpiryDate eq '2023-05-08') or (ExpiryDate eq '2023-06-07'))

 

but i only get 1 item our of 6321 items. so based on my reading i append the ExpiryDate with this `T00:00:00.000Z`as follow:-

 

johnjohn123_2-1681124704361.png

 

which result in this Filter Query:-

 

((ExpiryDate eq '2023-04-22T00:00:00.000Z') or (ExpiryDate eq '2023-05-08T00:00:00.000Z') or (ExpiryDate eq '2023-06-07T00:00:00.000Z'))

 

but i got 5547 items out of 6321 . i got the 6321 number, as when i defined this sharepoint list view :-

 

johnjohn123_3-1681124876822.png

 

the total item count was 6321. any advice what is going on ? so wy getitem is nto able to get all the items?

 

now in total i have 6321 divided as follow:-

 

1) 5805 with expiry date = 07 June 2023

 

2) 258 with expiry date = 22 April 2023

 

3) 258 with expiry date = 8 May 2023

 

so is there any advice what is going on ?

 

Categories:
I have the same question (0)
  • lbendlin Profile Picture
    8,661 Super User 2026 Season 1 on at

    General advice is to use ODATA queries with page (continuation) tokens when you want to pull more than 5000 items.

  • johnjohn123 Profile Picture
    3,514 on at

    @lbendlin if this is the case then why we have GetItems with Pagination settings? is this a bug inside the GetItems you think ?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 589

#2
Valantis Profile Picture

Valantis 459

#3
11manish Profile Picture

11manish 382

Last 30 days Overall leaderboard