Close

Sequential Processing in a Logic App

In a Logic App, I wanted to process a number of descriptions sequentially, but the descriptions were processed out of order. How come? By default, “For each” iterations run at the same time, or in parallel. To run sequentially, you must enable Concurrency Control in the settings of the ForEach loop and then set the…

ForEach Queue Message

I had a logic app that started with a queue trigger followed by a ForEach statement. The Logic App run failed on the ForEach step with the following error message: ExpressionEvaluationFailed. The execution of template action ‘For_each’ failed: the result of the evaluation of ‘foreach’ expression ‘@triggerBody()?[‘QueueMessagesList’]?[‘QueueMessage’]’ is of type ‘Null’. The result must be…

LogicApp Debatching using SplitOn

Debatching is a common need in enterprise integration. I found a very informative link on using SplitOn with either json or xml as the input message. Link: Blog Toon Vanhoutte From an exception handling perspective this approach is neat, because you get a separate logic app for each array item. All these logic apps can…

ForEach in LogicApp

I have struggled a while to get ForEach looping working in my logic app. In this scenario I call an Azure Function FilterEvents (post), to filter the results from an Http Call. The output of this function is an array. So I added a ForEach loop to go through the array. Within the ForEach section,…