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 / Split large Array of o...
Power Automate
Answered

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,990 Super User 2026 Season 1 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

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 594

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 281 Super User 2026 Season 1

Last 30 days Overall leaderboard