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 / How to get missing pro...
Power Automate
Answered

How to get missing properties in array for complex JSON

(0) ShareShare
ReportReport
Posted on by

I have a large array that looks something like this (heavily summarized):

 

[

{

"@ID":

"StandardFeature":

"EOBACNetFeature":

},

{

"@ID":

"StandardFeature":

"EOBACNetFeature":

"ParameterFeature":

}

]

 

I've tried to make a flow that pulls out all the values. item().['@ID'], item().StandardFeature, and item().EOBACNetFeature gets the values correctly, but item().ParameterFeature returns the error:

 

...cannot be evaluated because property 'ParameterFeature' doesn't exist, available properties are '@ID, StandardFeature, EOBACnetFeature'.

 

Because 'ParameterFeature' isn't in the first item in the array. How do I get 'ParameterFeature'? I've tried 

 

if(equals(item().ParameterFeature,null),'',item().ParameterFeature)

 

 for 'Value 2' in the table and that gives the same error.

 

 (The whole JSON is super complicated with each array having different objects so the Parse JSON function doesn't work for me. I have to use this workaround)

RobinW_0-1688752659582.png

 

Categories:
I have the same question (0)
  • Verified answer
    rzaneti Profile Picture
    4,456 Super User 2026 Season 1 on at

    Hi @RobinW ,

     

    If I understood correctly, you may solve the problem by just adding a question mark after item(). It will add the property only if it exists in the iterated object:

    rzaneti_0-1688762006292.png

     

    Output:

    rzaneti_1-1688762031411.png

     

    Let me know if it works for you or if you need any additional help!

     

    -------------------------------------------------------------------------
    If this is the answer for your question, please mark the post as Solved.
    If this answer helps you in any way, please give it a like.

  • RobinW Profile Picture
    on at

    That was easier than I thought. Thank you!

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 286

#2
David_MA Profile Picture

David_MA 256 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 225 Most Valuable Professional

Last 30 days Overall leaderboard