XML and SQL stored procedure in Logic Apps

Freitag, 15. April 2016

We have introduced some new XML support in the Logic Apps feature of Azure App Service. We have two new workflow functions of @xml() and @xpath() so that you can work with XML natively within a workflow. @xml() will convert a string or JSON object to XML. For example, if the body of your trigger is a JSON object of: { "foo": "bar" } @xml(triggerBody()) will become <foo>bar</bar> @xpath takes XML and executes an XPath query. Full documentation and examples for both of these functions (and others) can be found on the Workflow definition language page. In addition, the SQL Azure connector supports executing a stored procedure. Executing a stored procedure will return the following to the Logic Apps engine:
  • ResultSets: An array of tables for each statement result in the stored procedure. (For example, if you have three SELECT * in the stored procedure, you will have three tables in the ResultSets array.)
  • ReturnCode: The integer returned if you specify a return value in the stored procedure.
  • OutputParameters: The value of a parameter that you mark as "out" in your stored procedure.

Kostenloses Konto

Erhalten Sie ein Azure-Guthaben in Höhe von $200, und nutzen Sie 12 Monate lang kostenlos beliebte Dienste.

Kostenlos starten

Visual Studio

Abonnenten erhalten bis zu $1800 jährlich für Azure-Dienste

Jetzt aktivieren

Startups

Machen Sie mit beim BizSpark-Programm, und nutzen Sie kostenlose Azure-Dienste.

Weitere Informationen