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
Answered

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!
I have the same question (0)
  • Verified answer
    FPGroups Profile Picture
    9 on at
    Re: Capture result from SQL Stored procedure and return to canvas app

    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

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