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 / How to pic a specific ...
Power Automate
Unanswered

How to pic a specific item from output

(1) ShareShare
ReportReport
Posted on by

Dear all,

I have an output where I try to store a specific item within a variable:

 

 

 

{
 "responses": [
 {
 "responder": {
 "id": "ec543fe8-f834-4526-a568-f0af27939da2",
 "displayName": "Responder1",
 "email": "responder1@contoso.eu",
 "tenantId": "22815bf4-b927-43f0-8bb9-994b37c52d7d",
 "userPrincipalName": "responder1@contoso.eu"
 },
 "requestDate": "2024-07-16T14:26:43Z",
 "responseDate": "2024-07-16T14:27:22Z",
 "approverResponse": "Approve"
 },
 {
 "responder": {
 "id": "cd41a5ac-6212-40c0-bed8-a51742cc7cd4",
 "displayName": "Responder2",
 "email": "responder2@contoso.eu",
 "tenantId": "22815bf4-b927-43f0-8bb9-994b37c52d7d",
 "userPrincipalName": "responder2@contoso.eu"
 },
 "requestDate": "2024-07-16T14:26:45Z",
 "responseDate": "2024-07-16T14:26:58Z",
 "approverResponse": "Approve"
 }
 ]
 
}

 

 

 

I try to store the name of responder 1 by using following expression:

 

 

 

concat(body('start_and_wait_for_approval')?['responder'][0]?['displayName'])

 

 

 

But I get an error Message.

 

 

 

'The template language expression 'concat(body('start_and_wait_for_approval')?['responder'][0]?['displayName'])' cannot be evaluated because property '0' cannot be selected. Please see https://aka.ms/logicexpressions for usage details.'.

 

 

 

Could you please help me out how to solve this issue?

 

Thanks a lot in advance

Categories:
  • Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    Hi @Fehr_da30 

     

    Try this 

    body('start_and_wait_for_approval')?['responses']?[0]?['responder']?['displayName']

     

    responses is an array under which each responder object lies.

     

    Thanks & Regards,

    Nived N 🚀

    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel
    Blog: Nived Nambiar's Blogs

    🔍 Found my answer helpful? Please consider marking it as the solution!
    Your appreciation keeps me motivated. Thank you! 🙌

     

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 227 Super User 2026 Season 2

#2
David_MA Profile Picture

David_MA 213 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 151

Last 30 days Overall leaderboard