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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / StoredProcedure Object...
Power Automate
Answered

StoredProcedure Object - ResultSets.Table1 Object not Populating in Response Action Body

(1) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi All 

I am following this video on how to use a Stored Procedure via Flow in PowerApps.  It seems pretty straightforward.

https://powerapps.microsoft.com/en-us/blog/return-an-array-from-flow-to-powerapps-response-method/

 

I am using the Reponse Action to pass the json array back to Power Apps.  For some reason Flow is not creating a ResultSets.Table1 object that I can use in my Response action.   I only see a ResultSets object. 

 

Any suggestions on why I cannot get the ResultSets.Table1 object to populate?  I've tried several different things and it seems like Flow isn't fully turning  the Output from my Stored Procedure Action into objects that can be used in subsequent steps.  See below for what I am getting

flowDiscussionMessage.png

 

 

Categories:
I have the same question (0)
  • Verified answer
    faustocapellanj Profile Picture
    1,662 on at

    Hi @maphill 

    Flow converts certain data types automatically, but to convert other data types, expressions are needed. If you look close in the GIF embedded in the article, @Mr-Dang-MSFT writes the expression as follows:

    body('Execute_a_SQL_query').ResultSets.Table1

    Did you try it that way? Also, did you copy the Table1 information from the SQL action output to generate the JSON schema? Please let me know.

    Thank you,

  • Verified answer
    v-bacao-msft Profile Picture
    Microsoft Employee on at

     

    Hi @maphill ,

     

    Following the suggestion of @faustocapellanj , you could use the expression provided by him to get Table1.

    In addition, you could use Parse JSON action to parse Body of the previous action.

    http://johnliu.net/blog/2018/6/a-thesis-on-the-parse-json-action-in-microsoft-flow

    Please take a try.

     

    Best Regards

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 58

#2
David_MA Profile Picture

David_MA 53 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 36 Most Valuable Professional

Last 30 days Overall leaderboard