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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Capture result from SQ...
Power Automate
Unanswered

Capture result from SQL Stored procedure and return to canvas app

(0) ShareShare
ReportReport
Posted on by 9

I am totally new to this environment, the task to put together an canvas app fell on my laps and, thus far, I have been able to make significant progress and then, the need to use SQL Stored Procedure came in and I just have not been able to resolve my issue.

 

Scenario:

PowerApp runs a flow which executes a SQL Store procedure.  The procedure renders the results from an SQL Query.  The expected output is very simple (for now), just one column: rowID

 

Sample output from procedure:

FPGroups_0-1665591487943.png

 

ISSUE: 

Using 

[
  {
    "ResultSets": {
      "Table1": [
        {
          "rowID"1083
        }
      ]
    },
    "OutputParameters": {}
  }
]
 
as input within a SELECT, I am not able to extract rowID and return it to PowerApp
 
I am using an expression: if(isblank(item()?['rowID'],0,item()?['rowID']) as value when mapping the field:value pair in the SELECT definition.
 
Even if rowID has a value, I am always getting 0 as if isblank() is true thus possibly because bad referencing - For the life of me, I have changed this in so many ways and they all yield the same result.
 
Thank you all in advance for your assistance!
Categories:
I have the same question (0)
  • Verified answer
    FPGroups Profile Picture
    9 on at

    OK, for those that come behind me having identical issue, I found the answer here

    Send Array/JSON Response from Power Automate Flow to Power Apps #PowerApps #PowerAutomate #Response - YouTube

     

     

     

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