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 / Getting a single value...
Power Automate
Unanswered

Getting a single value from a Parse Json

(0) ShareShare
ReportReport
Posted on by 11

Hello,

I am building a flow that takes the data from a Sharepoint List, then selects a value from that array that was created (The Sharepoint List). I then want to pass the array value into an approval step, but the issue I run into is that when I use the output from the SELECT flow as the assigned contact in the approval flow, it instantly makes it a FOR EACH. Which doesn't work since I only want a single output from the approval. My next idea was to use parse json and then compose to take the exact output I am looking for, but I can't seem to get the correct code.

 

Please see the below images:

 

psil101010_0-1702483388266.pngpsil101010_1-1702483427257.png

 

Categories:
I have the same question (0)
  • JonDoesFlow Profile Picture
    1,304 on at

    This might help you - https://www.jondoesflow.com/post/first

    ---------------------------------------------------------------------------


    If I have helped you with an answer, please accept this post as a solution and thumbs up my reply. Thanks !

    Blog - JonDoesFlow
    Twitter - JonDoesFlow
    YouTube - JonDoesFlow

  • psil101010 Profile Picture
    11 on at

    Hello Jon,

     

    I have attempted this, the issue is that I am using the Select Option after the Get Items, to select a particular value first from the Get Items array. Once I have selected that, I want to be able to pass that through as the Assigned To field for the Approval step. 

  • psil101010 Profile Picture
    11 on at

    Please see the error I receive when I attempt to use the first option. 

     

    psil101010_0-1702486663434.png

     

    Mind you that I know that the admin email it is outputting is correct. It just isn't inputting correctly for the approval. The assigned to code I have for the input value is: 

    first(outputs('Select')?['body'])
     
    This is because the code for the correct admin email Select flow is:
    outputs('Select')['body']
  • Verified answer
    JonDoesFlow Profile Picture
    1,304 on at

    Try 

    first(outputs('Select')?['body'])?['Administrator email']

  • psil101010 Profile Picture
    11 on at

    This worked. Thank you very much!

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