Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
3,162 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi
I am trying to keep a running total of values. The logic app loops through a JSON array and I want to add the value of one of the fields to a variable. However when I try to do this I get an error saying the variable can't self reference. So what is the best way to achieve this?
@Jonathan Farmer The behavior that you are observing is because the foreach loop runs parallelly by default. Running the loop sequentially should help you achieve what you need.