cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
cymorg1
Advocate II
Advocate II

How to select value from an object in an array in an object

What is the correct way to select the value 17 from the JSON below in Power Automate?
{
  "ResultSets": { "Table1": [ { "Column1"17} ] },
  "OutputParameters": {}
}
I've tried...
    outputs('MySqlAction')?['ResultSets']['Table1'][0]['Column1'] - returns an error saying Table1 is not selectable
    outputs('MySqlAction')?['ResultSets']?['Table1'][0]?['Column1'] - no error but no value returned either.
1 ACCEPTED SOLUTION

Accepted Solutions
cymorg1
Advocate II
Advocate II

Found the answer myself... 

outputs('InsertRecord')?['body/resultsets']?['Table1'][0]?['Column1']

View solution in original post

1 REPLY 1
cymorg1
Advocate II
Advocate II

Found the answer myself... 

outputs('InsertRecord')?['body/resultsets']?['Table1'][0]?['Column1']

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (4,323)