Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
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.  

 

 

 

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,524 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,906 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow