Better message handling for logic apps

2015년 11월 9일 월요일

The Logic Apps feature in Azure App Service makes it easier to deal with different types of messages, including array payloads, URLs, and binary content. Message splitter - A trigger often returns an array of items to process. However, inside your logic app, you want to deal with each message independently. You can use For each to handle this, but that can be additional overhead if you have many steps. Instead, you can use the new splitOn property for triggers. If you provide this property with a path to an array, a Logic Apps run will be created for each item, making it much easier to handle. splitOn Functions for URLs - If you are sending content in a URL (such as in the query string), you will need to escape it by using percent signs. The following built-in functions have been added:
  • encodeUriComponent()
  • decodeUriComponent()
Native binary support - Many REST APIs take or return binary content. Previously, there was no way to handle this inside a logic app. Now, you can flow binary content from one API to another. In addition, you can get binary content from a base64-encoded string or a data URI by using the following functions:
  • decodeBase64()
  • decodeDataUri()
These additions are documented on MSDN in our article on triggers and our article on the Logic Apps functions. You can see a video example of these features and more updates (and what's coming soon) in last week's Logic Apps Live video recording.

무료 계정

Azure 크레딧 $200개 및 12개월의 인기 서비스를 무료로 받아보세요.


Visual Studio

최대 $1800 연간 Azure 서비스를 구독자에게 제공

지금 활성화


BizSpark 프로그램에 가입하고 무료 Azure 서비스를 이용하세요

자세한 정보