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 / Adding custom json obj...
Power Automate
Unanswered

Adding custom json object data to work queue

(0) ShareShare
ReportReport
Posted on by 20

Hi,

 

I have a json as custom object read in as shown. I want to add this information to a work queue. I tried indexing each row to get the values but it gave me an error saying that indexing is not allowed for the custom object. Thanks for the help.

 

automator11_0-1695192786205.png

 

  • Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    Those are not indexed rows, but instead they're key:value pairs. You can get the value by referencing the key. For example, to get the customer number, use %JsonAsCustomObject['customerNumber']%, and to get the organisation, use %JsonAsCustomObject['organisation']%.

    -------------------------------------------------------------------------
    If I have answered your question, please mark it as the preferred solution. If you like my response, please give it a Thumbs Up.

    I also provide paid consultancy and development services using Power Automate. If you're interested, DM me and we can discuss it.

  • automator11 Profile Picture
    20 on at

    Thanks for the reply, however i should have mentioned that the keys are not always present in the json file so I do not want to explicitly call out 'customerNumber' etc 

     

  • Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    No other way to do it, though. But you can check if the object contains a key value before explicitly using it, so you can use some default/empty value instead, if it doesn't contain it.

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

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 249 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 202

#3
David_MA Profile Picture

David_MA 180 Super User 2026 Season 2

Last 30 days Overall leaderboard