cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
IMathur
Helper V
Helper V

Collection not generating properly

Hi Folks,

 

I am trying to generate a collection using a flow, flow is working perfectly fine, but my collection is like below:

IMathur_0-1623161731108.png

,

In place of this, it should have many  columns.

Is there a particular reason, why it is showing like this?

 

1 ACCEPTED SOLUTION

Accepted Solutions
Pstork1
Dual Super User III
Dual Super User III

Are you using Respond to Power Apps in the flow to try to return the collection?  If you are, that won't work because Respond to Power Apps can only return an object with individual properties.  To return an array, and make it into a collection, you need to use Http Response.  Also make sure you have a valid JSON schema loaded in the HTTP response for the JSON array you want to return.  Otherwise all you will get is a success Boolean.  



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

View solution in original post

2 REPLIES 2
Pstork1
Dual Super User III
Dual Super User III

Are you using Respond to Power Apps in the flow to try to return the collection?  If you are, that won't work because Respond to Power Apps can only return an object with individual properties.  To return an array, and make it into a collection, you need to use Http Response.  Also make sure you have a valid JSON schema loaded in the HTTP response for the JSON array you want to return.  Otherwise all you will get is a success Boolean.  



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

View solution in original post

Thanks @Pstork1  for the reply, 

 

In this case, somehow, the Response worked, when i added the 'Response Body JSON Schema' in advanced options.

Thank you so much for the help! 🙂

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (1,873)