0
votes

I have a logic app that calls a stored procedure to insert a record and update another record in an Azure SQL Managed Instance.

The Logic Apps runs successfully. The SQL Action returns an HTTP 200 (success) but with these outputs:

{
  "ResultSets": {},
  "ReturnCode": -3,
  "OutputParameters": {}
}

Screenshot of the outputs

1

I cannot find anything about negative ReturnCodes while the action succeeded.

Any ideas?

1

1 Answers

0
votes

The ReturnCode is an integer returned if you specify a return value in the stored procedure. You can refer to this document:

enter image description here

You can also refer to this sample. In this sample, he specify a value ROWCOUNT return. enter image description here