Reputation: 2780
I have a logic app in Azure that has the following structure:
Basically, when a new Blob file is created in a specific folder then I do the flow of processes but I noticed a peculiarity: If I add some files into the specific folder then only the first file will be processed and the rest of them will be ignored. I thought the Logic App would handle the files in a queue fashion method where they are processed one by one. How can I change this setting or how can I indicate to process each file and not only the first one?
Please, feel free to ask me more questions in case my description doesn't contain enough information.
Upvotes: 0
Views: 976
Reputation: 6686
Important. By default, cycles in a "For each" loop run in parallel. When you use variables in loops, run the loop sequentially so that variables return predictable results.
Upvotes: 2