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 / Update a property on a...
Power Automate
Unanswered

Update a property on a complex Flow Definition JSON object

(0) ShareShare
ReportReport
Posted on by 25

Hi,

 

In one of my flows I have quite a complex JSON object that I wish to update one property on. The JSON object contains a "Flow Definition" from the "Get Flow" connector. I store the JSON object in a object variable, which I then want to manipulate, and then use to create a new flow using the Create Flow connector.

 

The part of the JSON object is something like this:

 

screenshot.jpg

 

The table property is several levels deep in the JSON object itself.

 

 

What I want to be able to do is update the "table" property to something else. I can access the property using an expression like variables("MyVar")['triggers']['manual']['inputs']['parameters']['table']

but have no idea on how to update it.

 

I have had a play around using "Parse JSON" and "Select" connectors but cannot seem to be able to update a property that is several objects deep.

 

Can someone advise on how to update a single property in a JSON object ?

 

I can post the JSON object in full if needed , but its rather large!

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

    Hi @Assurity,

     

    I have made a test on my side, and I afraid that it is not supported in microsoft flow currently.

     

    You couldn't update the flow definition and then use it to create a new flow in microsoft flow currently.

    I afraid that there is no way to achieve your needs in Microsoft Flow currently.

     

    If you would like this feature to be added in Microsoft Flow, please submit an idea to Flow Ideas Forum:

    https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas

     

     

    Best regards,

    Alice

  • Assurity Profile Picture
    25 on at

    Hi Alice,

     

    Thanks for your reply. Just so that I am clear with regards to how the "Get Flow" and "Create Flow" connectors. When you are using the "Create Flow" connector to create a new flow, the only option you have is to use the "Flow definition" from the "Get Flow" connector to create a new flow. If that gets modified in any way then it will fail? So all you can do is copy a flow and nothing else ?

     

    Regards

     

    Chris

     

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