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 Apps / Calling Stored Procedu...
Power Apps
Answered

Calling Stored Procedure from Power Automate issue

(0) ShareShare
ReportReport
Posted on by 18

Hi guys,

 

I'm trying to build a canvas app that passes a serial number to a stored procedure and the results are fed back and shown in a table.

 

I know I need to create a Power Automate flow to call the Stored Proc, thats where im struggling:

 

Following some guides, I know I need to do a select on the outcome of a store proc, however I get no 'value' results - I know the stored proc works in flow as I've tested it and can succesfully see the data return in a JSON object.

 

Whre Im trynig to achieve is:

  1. Canvas app - user inputs a serial number
  2. Store proc returns details or orders with that serial number
  3. Canvas app shows lines in a grid

 

 

What am i doing wrong?

 

365Giovanni_0-1632155342212.png

 

Categories:
I have the same question (0)
  • Nogueira1306 Profile Picture
    7,390 Super User 2024 Season 1 on at

    Hey! My Advice would be:

     

    1. Trigger

    2. Get SQL rows and set filter to SerialNumber eq 'PowerAppsSerailNumber'

    3. Select with the rows from the filter

    4. Send the email with the output

     

    Plus, there is a Power Automate community, they might be better

     

    If you need additional help please tag me in your reply and please like my reply.
    If my reply provided you with a solution, pleased mark it as a solution ✔️!

    Best regards,
    Gonçalo Nogueira

    Check my LinkedIn!

    Check my User Group (pt-PT)!

  • 365-Giovanni Profile Picture
    18 on at

    Hi thanks for reply, I'm using a store procedure so can't use Get SQL Rows

  • Verified answer
    timl Profile Picture
    36,393 Super User 2025 Season 2 on at

    @365-Giovanni 

    The typical way to do this is to return the output of your stored procedure from Flow using a 'Response' action, rather than a 'Select' action, which is what you have in your screenshot.

     

    The key step is to specify the 'Response Body JSON Schema' value, and Mr Dang's post here provides a great explaination. You can effectively take this example, and replace the 'Execute a SQL Query' action with your 'Execute Stored Procedure' action.

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

     

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard