cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ReneAlvarezM
Frequent Visitor

Parse JSON not showing all columns

Hi all. I'm building a (simple) flow to test some scenarios. Basically I'm getting data from a REST API call.

flow1.png

After the call, I'm getting rid of the first part of the response to properly pass it to the Parse JSON step like this:

flow2.png

And then I'm parsing the JSON response with a schema created from the original output. Only thing I needed to modify is that I added a "null" data type option because otherwise I got the error of a null being returned instead the data itself. This is the beginning of the schema:

 

{
"type": "array",
"items": {
"type": "object",
"properties": {
"Id": {
"type": ["string","null"]
},
"Name": {
"type": ["string","null"]
},
"Created": {
"type": ["string","null"]
},
"Modified": {
"type": ["string","null"]
},
"ModifiedBy": {},
"CreatedBy": {},
"PlanId": {
"type": ["string","null"]
},
"ParentTaskId": {
"type": ["string","null"]
},
"Leaf": {
"type": ["boolean","null"]
},
"WorkTypeId": {
"type": ["string","null"]
},
"WorkType": {
"type": ["string","null"]
},

 

The flow works fine and I'm getting all the values if I run it, however most of the columns are simply not there if I try to use them in a new step. For example, the next thing I need to do is filter this output by a known value for the "WorkType" column but that option is not present at all.

 

flow3.png

 

Obviously I'm missing something but cannot figure out what. What am I missing/doing wrong?

 

Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions
v-litu-msft
Community Support
Community Support

Hi @ReneAlvarezM,

 

If the dynamic content disappears, how about you using the expression to get them?

For example:

item()?['WorkType']

 

Best Regards,
Community Support Team _ Lin Tu
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-litu-msft
Community Support
Community Support

Hi @ReneAlvarezM,

 

If the dynamic content disappears, how about you using the expression to get them?

For example:

item()?['WorkType']

 

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

ReneAlvarezM
Frequent Visitor

Great suggestion and actually it works!

 

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Top Solution Authors
Users online (3,017)