web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Powerapps 'Response' a...
Power Automate
Unanswered

Powerapps 'Response' action does not provide proper table collection in PA.

(0) ShareShare
ReportReport
Posted on by 3,340

Not sure what's wrong with my data here.  This is the output from a Response Action (Raw).  Looks good, right?:

 

 

 

{
 "statusCode": "200",
 "schema": {
 "type": "array",
 "items": {
 "type": "object",
 "properties": {
 "Filename": {
 "type": "string"
 },
 "WONum": {
 "type": "string"
 },
 "FileExists": {
 "type": "integer"
 }
 },
 "required": [
 "Filename",
 "WONum",
 "FileExists"
 ]
 }
 },
 "body": [
 {
 "Filename": "WO 5595-1 97201-97205.pdf",
 "WONum": "5595-1",
 "FileExists": 0
 },
 {
 "Filename": "WO 5595-1 97201-97205.pdf",
 "WONum": "5595-1",
 "FileExists": 1
 }
 ]
}

 

 

 This is my powerapps call:

 

 

 

ClearCollect(ChkExistResult,AddNewWorkorder_Chk_Exist2.Run(JSON(UploadData_New,JSONFormat.IndentFour),User().FullName));

 

 

This is what I get back in PA:

 

martinav_1-1638376290058.png

 

Of course, I expect 'ChkExistResult.WONum' etc.

 

Putting ChkExistResult in a Gallery gives me one field, chkexistresult - and there is nothing in it.

 

See a problem?  I've done this in several flows.  This is broke.

Categories:
I have the same question (0)
  • abm abm Profile Picture
    32,858 Most Valuable Professional on at
    Re: Powerapps 'Response' action does not provide proper table collection in PA.

    Hi @martinav 

     

    ChkExistResult.WONum is an array?  So not sure you can access without the index?

     

    image.png

  • martinav Profile Picture
    3,340 on at
    Re: Powerapps 'Response' action does not provide proper table collection in PA.

    @abm ,

     

    Thanks for the reply.

     

    Per my ClearCollect() statement, ChkExistResult is the array.  I should be able to call for ChkExistResult.WONum, ChkExistResult.Filename, and ChkExistResult.FileExists in my lookup commands, etc.  

     

    Can you be more specific on what you mean by 'the index'?  This is the raw output from an array variable in flow.  Ive done this before.  It all looks good to me.  No?

     

    JSON schema resolves fine as well. 

  • abm abm Profile Picture
    32,858 Most Valuable Professional on at
    Re: Powerapps 'Response' action does not provide proper table collection in PA.

    Hi @martinav 

     

    I was thinking about referencing with index to access the values. I understood now but can't able to figure out what's wrong here. You might get better help from PowerApp community forum. 

     

    Thanks

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 462 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard