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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Execute Stored Procedu...
Power Automate
Unanswered

Execute Stored Procedure (V2) On premise Database wont update stored procedure query

(0) ShareShare
ReportReport
Posted on by 28

Hello Folks,

 

I created a flow which will trigger an "Execute stored procedure (V2)" which has a query below.

 

 

 

 

 

ALTER PROCEDURE [dbo].[sp_update_submitted_powerapps]	
		@DocumentNo				NVARCHAR(200)		
AS
BEGIN TRANSACTION	
	UPDATE 
		tblRFPHeader
	SET 
		RFPStatusID = 2
	WHERE 
		DocumentNo IN(@DocumentNo)
COMMIT

 

 

 

 

 

I've been passing the parameter from PowerApps collections and parsing it to JSON format like 'DocNo-00001','DocNo-00002' . Please see the complete flow below.

PhoenixPubInc_0-1663729781638.png

 

In the execute stored Procedure (V2) action, it returns statuscode 200

 

 

 

 

 

{
 "statusCode": 200,
 "headers": {
 "Pragma": "no-cache",
 "Transfer-Encoding": "chunked",
 "Vary": "Accept-Encoding",
 "x-ms-request-id": "a3e1d811-390d-4c0b-b98c-ee4828a486b4",
 "Strict-Transport-Security": "max-age=31536000; includeSubDomains",
 "X-Content-Type-Options": "nosniff",
 "X-Frame-Options": "DENY",
 "x-ms-connection-gateway-object-id": "07807ecc-61c7-436a-869c-cfcf161f434f",
 "Timing-Allow-Origin": "*",
 "x-ms-apihub-cached-response": "false",
 "x-ms-apihub-obo": "true",
 "Cache-Control": "no-store, no-cache",
 "Date": "Wed, 21 Sep 2022 03:00:18 GMT",
 "Content-Type": "application/json; charset=utf-8; odata.metadata=minimal",
 "Expires": "-1",
 "Content-Length": "39"
 },
 "body": {
 "ResultSets": {},
 "OutputParameters": {}
 }
}

 

 

 

 

 

Can someone confirm if this is a bug from Action Execute Stored procedure (V2) by using on premise database?

Thank you in advance.  

 

 

 

Categories:
I have the same question (0)

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 711

#2
Vish WR Profile Picture

Vish WR 691

#3
Haque Profile Picture

Haque 525

Last 30 days Overall leaderboard