Notifications
Announcements
Im trying to call a flow I created in Power Automate in Power Apps but when I type in SQLOrderdata. ResultSets isnt popping up. I'm currently following this video on stored procedures in power apps
https://www.youtube.com/watch?v=awsNLPGNI4w&ab_channel=ChinoDoesStuff
From 29:30 My power apps doesnt want to grab data from the flow i created. Where did I go wrong? please help.
Im trying to use PowerApps>store prodcedure v2 which has the information i need for the gallery.
Hi @tsangd ,
I will suggest 2 ways -
1You need to check the flow what is the output.You need to call the flow and record the output of to a collection before using it in the gallery.
Example:-
ClearCollect(collmasteranalystRef,'flow-SQL_Mastertable'.Run("SELECT * FROM [dbo].[Master_Analyst_Ref] WHERE AnalystEmail <> 'NA'"));
collmasteranalystRef :- my collection
flow-SQL_Mastertable:- my flow name
My Query:- "SELECT * FROM [Mastertable] WHERE Email <> 'NA'"
The result will get populated in my collection and I use my collection to display in gallery.
A simple SQL query flow.
@tsangd , continuing the previous post2nd Method:-
Please modify the stored procedure to generate a view with required output.You can connect to the view directly from data connection . This will help you to use the connection directly in gallery.
Please give me a Thumbs up if I answered your question and mark it as a solution to help others.
Thanks
Abhi
@Abhilash_Swain Thank you for your reply, could you tell me the procedure to do this?Im new to stored predures in power apps. thank you
Hi @tsangd ,Please follow below steps and I hope i will help.
Fore the 2nd method which I suggested earlier.
First time, it will ask you to create the connection. Provide your SQL server details and create the connection.
Select the Button> On Select>Click Actions > Power Automate . You can see all the flows available in that environment .
Hope this will help.
@Abhilash_Swain Thanks so much for the help, If I get any problems , I will message you.
@Abhilash_Swain
for no.3 my view that i created isnt showing in my power automate flow even after i saved it in my microsoft sql server. why?
@Abhilash_Swain I made a view , then i called the view table in a stored procedure like this
SET ANSI_NULLS ONGOSET QUOTED_IDENTIFIER ONGOCREATE PROCEDURE allTableASBEGINSET NOCOUNT ONSELECT *FROM allTableViewENDGO
I then created the flow you made ,How do i connect the flow to my gallery? I can connected the procedure flow to a button but for gallery i dont know
for step 9 how do i correctly map the flow to the gallery?I tried adding the flow to my gallery but it gives me an error
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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 721 Most Valuable Professional
Michael E. Gernaey 320 Super User 2025 Season 2
Power Platform 1919 268