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 / Custom object to JSON ...
Power Automate
Unanswered

Custom object to JSON adding unnecessary ['Properties']

(0) ShareShare
ReportReport
Posted on by 1

Hello everyone,

 

Having quite some fun with Power Automate Desktop, but have run into an issue.

I have a custom object that i get from converting JSON data to custom object that looks like this:

Max399_0-1629984122032.png

Inside orderItems there is a list of custom objects:

Max399_1-1629984202163.png

 

Once im happy with my data - i convert it back to JSON and save it to a text file.

Max399_5-1629984633329.png

When converting all this data to JSON - it adds unnecessary ['Properties'] tags to my JSON data, here is an example:

Max399_2-1629984427303.png

 

 

{"orderID":"31385","orderHEX":"FRMRNXSCH","orderPayment":"MokÄ—jimas e-banko sistema","orderDelivery":"Pristatyti kurjeriu","orderDelvieryCity":"Marius","orderTotalPaid":17.77,"orderTotalDiscounts":0.0,"orderTotalShipping":3.99,"orderItems":[{"Properties":{"id":"KT231","quantity":"1","price":"4.080000"}},{"Properties":{"id":"147124_KLI","quantity":"1","price":"0.370000"}},{"Properties":{"id":"143694_KLI","quantity":"1","price":"0.300000"}},{"Properties":{"id":"146948_KLI","quantity":"1","price":"0.300000"}}],"orderIsPaid":"ApmokÄ—ta"}

 

 

If i convert it again to Custom object i get this:

Max399_3-1629984521863.pngMax399_4-1629984532622.png

 

Then if i convert it again to JSON - it adds even more ['Properties'] tags, and so and beyond.

After two conversions im 3 levels deep and so on.

Is there something i am doing wrong or am i missing something?

 

I have the same question (0)
  • John_Mavridis Profile Picture
    Microsoft Employee on at

    Hello,

     

    We have managed to reproduce this, that's indeed a bug - we have created the respective ticket to fix shortly.

    Thank you for bringing this to our attention!

  • John_Mavridis Profile Picture
    Microsoft Employee on at

    Hi @Max399 ,

     

    Just letting you know that this is now fixed in the upcoming December's release, expected in the following days.

  • MRohanKumar Profile Picture
    26 on at

    How can I calculate how many names I have in my custom object list? If this is possible then how?

    MRohanKumar_0-1645781760860.png

     

  • MichaelAnnis Profile Picture
    5,727 Moderator on at

    Here is DataType Properties:

    https://docs.microsoft.com/en-us/power-automate/desktop-flows/datatype-properties#datatables

     

    I don't see one for "Custom object" but it looks like a data table.  If that is correct, you should be able to do:

     

    %orderData.RowsCount%

     

    Good luck!

  • MJ_AAM Profile Picture
    4 on at

    @John_Mavridis : The Bug is still an issue today. 

    We have the same problem when we try to converte Custome object to JSON.

     

    Link to another thread about the same issue: https://powerusers.microsoft.com/t5/Power-Automate-Desktop/Custom-object-to-JSON-change-value-1234-to-1234-0/td-p/1461542

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 June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 227

#2
David_MA Profile Picture

David_MA 204 Super User 2026 Season 1

#3
Valantis Profile Picture

Valantis 177

Last 30 days Overall leaderboard