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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Split large Array of o...
Power Automate
Unanswered

Split large Array of object into small array chunks

(0) ShareShare
ReportReport
Posted on by

we have an array of objects with the structure below of length minimum 1 and maximum of 1000 records. I want to split the array into chunks with a length of 100.  If the total array length is 120, I need to split it into 2 chunks(1 with 100 records and 2nd with 20 records)

Can we achieve this with split or can we use Take?

Sample Structure

[
{
"Approver": "Alex",
"ApproverEmail": "###@###.com",

"Status": "Accept",
},
{
"Approver": "John ",
"ApproverEmail": "###@###.com",

"Status": "Reject",
},

..

.

.

.

.

.

1000 records
]

Categories:
I have the same question (0)
  • Verified answer
    Ellis Karim Profile Picture
    11,681 Super User 2025 Season 2 on at

    Hi @TarunEY ,

     

    Please see the Chunk function:
    Reference guide for expression functions - Azure Logic Apps | Microsoft Learn | Chunk

     

    Use Chunk to split a string or array into chunks of equal length.

     


    Ellis
    ____________________________________
    If I have answered your question, please mark the post as ☑️ Solved.
    If you like my response, please give it a Thumbs Up.
    My Blog Site | Twitter | LinkedIn

  • TarunEY Profile Picture
    on at

    @ekarim2020 Thank you for your solution. It worked as expected. 

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard