I have a logic app that uses For_each to iterate through email attachments and saves them to an Azure Files container.
Depending on some conditions, I want the attachment stored with a different name or at a different path, but the default concurrency of for_each is concerning; I have path and file name variables set at top level and I'm setting them in the loop as conditions are met.
Is there a way to be sure that these variables will hold the value I'm setting in that iteration without setting concurrency to 1?
It seems like it's working correctly with default concurrency, but I'm going to set concurrency to 1 until I'm sure about whether or not these iterations can interfere with each other in terms of setting variables.