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 / How to set property va...
Power Automate
Unanswered

How to set property value on a object-type variable?

(0) ShareShare
ReportReport
Posted on by 350

Hi all!

 

I have Initialized an Object variable with several properties. However, when using Set Variable Action Block, I do not find in the GUI the option to update a single property, I have to update the whole Object.

 

I tried inserting a "Parse JSON" action block between "Initialize Variable" and "Set Variable". By doing this, I can handle object properties as independent Outputs, but the GUI does not help me to update a single property easily.

 

As a workaround, on SetVariableActionBlock I tried the following to update the property "Importe" mantaining the values of the rest

{"Oficina": "@body{('Análisis_del_archivo_JSON')?['Oficina']}","Importe": "New Value"}

 

In this example I handle two properties, but as the number of properties increases, the effort to apply this workaround increases 

 

{"type": "object", "properties": {

"Oficina": { "type": "string"}, 

"Importe": { "type": "string"}

}}

 

 

Categories:
I have the same question (0)
  • v-yamao-msft Profile Picture
    on at

    Hi efialtes,

     

    I am afraid that set variable action doesn’t support updating a single property, please consider to submit a request at Flow Ideas Forum:
    https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas

     

    Best regards,
    Mabel Mao

  • efialtes Profile Picture
    350 on at

    Thanks for your confirmation!

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…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 378 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 273 Super User 2025 Season 2

#3
Expiscornovus Profile Picture

Expiscornovus 135 Most Valuable Professional

Last 30 days Overall leaderboard