Better message handling for logic apps
Published date: November 09, 2015
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.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()
- decodeBase64()
- decodeDataUri()