cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
notj
Post Prodigy
Post Prodigy

Can't figure out how to target properties in returned item

I'm having a hard time returning the parameters output from a filter array. I can output the body to an html table, but only if I use automatic columns. If I switch it to custom columns, I can't target the parameters in the filter array item.

 

Here's some screenshots to show what I mean.

filter outputs.png

 

This is all that's available to me. When I compose the filter array body, this is what's returned:
returned body.png

When I use the custom columns option, you can see I don't have the option to select these fields.

 

custom columns.png

 

I'm obviously not understanding how this works. Can someone help explain it?

1 ACCEPTED SOLUTION

Accepted Solutions
v-bacao-msft
Community Support
Community Support

 

Hi @notj ,

 

The first method is that you need to get the field value using an expression like item()['ColumnName'].

Like:

21.PNG

Another method is that you first use Parse JSON to parse the body of the Filter array, and then you can use Dynamic content to configure the Create Html table action.

a-thesis-on-the-parse-json-action-in-microsoft-flow

handling-json-in-microsoft-flow

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-bacao-msft
Community Support
Community Support

 

Hi @notj ,

 

The first method is that you need to get the field value using an expression like item()['ColumnName'].

Like:

21.PNG

Another method is that you first use Parse JSON to parse the body of the Filter array, and then you can use Dynamic content to configure the Create Html table action.

a-thesis-on-the-parse-json-action-in-microsoft-flow

handling-json-in-microsoft-flow

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

@v-bacao-msft thank you so much. Targeting the property in the expression worked just as you showed. 

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!

Top Solution Authors
Users online (1,689)