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 / Accessing multi dimens...
Power Automate
Unanswered

Accessing multi dimensional arrays

(0) ShareShare
ReportReport
Posted on by 111

Hi All

 

I've been having problems trying to access a 2 dimensional array. The array should look like:

[
  {
    "appGUID":'b8b6db0d-ecfa-431a-8766-b53ad4404c49',
    "ExpctdCnt":1
  }
]

How do i access each variable when in an apply to each loop?

Thanks for any  insight/help

cheers!

dj

 

Categories:
I have the same question (0)
  • Verified answer
    grantjenkins Profile Picture
    11,063 Moderator on at

    In an Apply to each for the data you provided you access each property using the following:

     

    //If accessing directly within the Apply to each
    
    item()?['appGUID']
    item()?['ExpctdCnt']
    item()?['Your_Field_Name']
    
    //Or from anywhere within the Apply to each
    
    items('Apply_to_each')?['appGUID']
    items('Apply_to_each')?['ExpctdCnt']
    items('Apply_to_each')?['Your_Field_Name']


    ----------------------------------------------------------------------
    If I've answered your question, please mark the post as Solved.
    If you like my response, please consider giving it a Thumbs Up.

  • Flyingfishnm Profile Picture
    111 on at

    Great, thanks for your quick response and help!! 😊

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

#2
Tomac Profile Picture

Tomac 427 Moderator

#3
abm abm Profile Picture

abm abm 245 Most Valuable Professional

Last 30 days Overall leaderboard