Logic Apps and the Succeeded Terminate Action

More and more of my integration efforts are centring around the use of Logic Apps on the Azure platform.

Logic Apps offers a great number of connectors to perform calls to external services such as Dynamics CRM, Office 365, Slack and the list goes on. A full list can be found on the following link … Azure Logic Apps Connectors

My client had a particular requirement which basically stated that if a value existing in a certain field, then the workflow should not proceed any further. And the subsequence of this was that the Logic App had to terminate “successfully” (i.e., “Succeeded”, not “Failed” nor “Cancelled”).

The Logic Apps designer allows you to add the Terminate Control action simply by searching for “terminate” when adding your action. 

At the time of authoring this blog post (Edit: I started writing this blog post on 3rd April, but had not published it! Apologies if this led to confusion that I wrote this in May), you could not select “Succeeded” in the designer. You had to switch to Code View and set the properties correctly by changing “Failed” to “Succeeded” AND by removing the result code too!

Thanks to the constant updates by the Logic Apps team, this issue has been fixed and is a just memory …

Until next tip… be good!
 

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s