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 / Apply to each Get valu...
Power Automate
Unanswered

Apply to each Get value data based on ID

(0) ShareShare
ReportReport
Posted on by 141

Hi, 

I'm looking to get a value based on ID in Array in Apply For each. for example.

 

"customFields": [
{
"id": "XXX",
"value": "4"
},
{
"id": "YYY",
"value": "Test1"
}
],

 

 

"customFields": [
{
"id": "YYY",
"value": "Test2"
},
{
"id": "XXX",
"value": "30"
}
],

 

 

"customFields": [
{
"id": "XXX",
"value": "24"
},
{
"id": "YYY",
"value": "Test3"
}
],

 

 

 

As I'm aware I may need index eg items('Apply_to_each')?['customFields'][0]['value'] But it not work due to the array is not in order. 

I need to get id based on XXX which it should return 4,30,24. 

Categories:
  • spiderkzn Profile Picture
    141 on at

    Anyone know how to solve this 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 299

#2
11manish Profile Picture

11manish 274 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 119

Last 30 days Overall leaderboard