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 Automate - Building Flows
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.

I have the same question (0)
  • abm abm Profile Picture
    32,600 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,600 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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 614 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 401 Moderator

#3
chiaraalina Profile Picture

chiaraalina 282

Last 30 days Overall leaderboard