Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

Execute stored procedure long running

(0) ShareShare
ReportReport
Posted on by 10

Hi team,

 

I have a very simple flow and SQL store procedure, but it is always long running and can't get the result successfully in automate flow.

Here is the SQL store procedure:

create procedure Trade_vw_Val
AS
select sum([AMOUNT]) as "TradeAmt" from [Intervention_2.0].[dbo].[vw_Trade_AIR_NonAIR_Intervention_Del]

EXEC [dbo].[Trade_vw_Val]

 

and here is the flow I created:

Tracy000_0-1709019214471.png

 

If I ran this SQL in SSMS, only takes 8 secs with below result:

select sum([AMOUNT]) as "TradeAmt" from [Intervention_2.0].[dbo].[vw_Trade_AIR_NonAIR_Intervention_Del]

Tracy000_2-1709019487279.png

 

But I can't succeed in automate flow.

Could you please kindly advise? thank you!

 

 

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1