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 / Parse json value updation
Power Automate
Answered

Parse json value updation

(0) ShareShare
ReportReport
Posted on by 11

Can I update the value of a specific key in the Parse JSON action in Power Automate in the later part of the flow?

 

 

 

Screenshot 1.png

Categories:
I have the same question (0)
  • Verified answer
    Manish Solanki Profile Picture
    15,167 Moderator on at

    Hi @saidileep 

     

    You can change the property of an object using setProperty() function in the expression. In the below example, the value of "firstname" property has been updated:

    ManishSolanki_0-1690603545007.png

    Expression used inside Compose action to update the object property:

    setProperty(body('Parse_JSON'),'firstname','abc')

    This expression will update the value of "firstname" property to 'abc'

     

    If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.

     

    Thanks

  • saidileep Profile Picture
    11 on at

    @ManishSolankiThanks, it works. but when I try to access the same item after updating the value of the key using setProperty function, I'm still getting the empty string instead of the updated value. may I know how to get the updated value?

    saidileep_0-1690788230402.png

    in compose 2 i used :

    setProperty(body('Parse_JSON'),'firstName','User 1')
     
    in compose 3 i used :
    body('Parse_JSON')?['firstName']
  • Verified answer
    Manish Solanki Profile Picture
    15,167 Moderator on at

    Hi @saidileep 

     

    As you have updated the property value in 'Compose' action so you will get the new or updated value from the output of compose but not from the body of parse JSON action (previous action). Based on you need, you may further pass the output of 'Compose 2' action to parse JSON action and get the latest values from the output body of the latest parse JSON action.

     

    To get the new value of 'firstname' property, pls use the below expression in 'Compose 3' action:

    outputs('Compose_2')?['firstname']

     

    If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.

     

    Thanks

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 304

#2
David_MA Profile Picture

David_MA 245 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 243 Most Valuable Professional

Last 30 days Overall leaderboard