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 / Retrieve the "second v...
Power Automate
Unanswered

Retrieve the "second value" value

(0) ShareShare
ReportReport
Posted on by 340

Hi all,

 

I have a flow and under a particular field its has multiple "value" values. See below. How would i only extract the second one every time?

So in this example i would want the value "00 111 222 333" and ignore the rest.

},
 "customFields": [{
 "id": 2,
 "caption": "Client Type",
 "type": "Text",
 "entryMethod": "List",
 "numberOfDecimals": 0,
 "value": "Client A"
 }, {
 "id": 4,
 "caption": "ABN",
 "type": "Text",
 "entryMethod": "EntryField",
 "numberOfDecimals": 0,
 "value": "00 111 222 333"
 }, {
 "id": 10,
 "caption": "Client Success Manager",
 "type": "Text",
 "entryMethod": "List",
 "numberOfDecimals": 0
 }, {
 "id": 14,
 "caption": "Previous CSM",
 "type": "Text",
 "entryMethod": "List",
 "numberOfDecimals": 0,
 "value": "Joe Bloggs"
 }, {
 "id": 18,
 "caption": "Auto-Pilot",
 "type": "Text",
 "entryMethod": "List",
 "numberOfDecimals": 0
 }
 ]
 }, {

I was trying this but not getting anywhere

item()?['communicationItems'][0]['value']

skip(item()?['customFields'], 1)[0]['value']

item()?[1]['customFields/value']

 

Thanks,
David

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

    Hi @da1ve ,

     

    You could try the following formula:

    item()?['customFields'][1]?['value']

     

     

     

     

     

     

    Best Regards,

    Habsburg Qian

    If this post helps, then please consider Accept it as the solution to help the other members find it.

     

     

  • da1ve Profile Picture
    340 on at

    @v-zhoqian-msft 

     

    Thank you, that worked

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