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 / Length of a json array
Power Automate
Unanswered

Length of a json array

(0) ShareShare
ReportReport
Posted on by 15

Hi - is there a function that tells you the total items in a json array?

Categories:
I have the same question (0)
  • Verified answer
    v-yuazh-msft Profile Picture
    on at

    Hi @ RodrigoF,

     

    You could use the length() of workflow definition language to get the length of a json array.

     

    You could refer to link below to learn more details about workflow definition language:

    https://docs.microsoft.com/en-us/azure/logic-apps/logic-apps-workflow-definition-language

     

    I have made a test on my side and I have created a flow as below to get the amount of the items in sharepint list:

    1.png

    The screenshot of the sharepoint list as below:

     2.png

    The flow would run successfully as below:

     3.png

     

    Regards,
    Alice Zhang

  • SkinnyPete Profile Picture
    39 on at

    Thanks Alice, been trying for hours to resolve this exact issue.

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 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard