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

Order by for SharePoint Get Items

Hi All,

 

I have a flow that moves records from one list to another on a 1 to 1 basis, one is created in List 1 and I want the lowest valued one moved to List 2. The record moved is then deleted from List 1.

 

I used the Order By functionality as described in the community forum: Syntax for Odata Order By and I return the singular earliest record.

My issue is that the order by is starting at record 100. I still have 99ish records before that that should be moved first.

 
 
 

Order By: Request_x0020_ID asc

Top Count: 1

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
DeepakS
Super User
Super User

Hi @jsekuto 

 

"Get Items" action by default get only 100 items , so you need to go to the action setting and set threshold to higher number.

 

1.jpg2.jpg

 

Regards,

View solution in original post

2 REPLIES 2
DeepakS
Super User
Super User

Hi @jsekuto 

 

"Get Items" action by default get only 100 items , so you need to go to the action setting and set threshold to higher number.

 

1.jpg2.jpg

 

Regards,

View solution in original post

jsekuto
Frequent Visitor

Your advisement was needed and I implemented to avoid issue later on.

 

The root issue of my problem was a rookie mistake. My SharePoint field was a string.

Changing it to number allowed the Order By to sort it as a number... oops.

 

Thanks!

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,037)