
Announcements
Hello Guys,
I have a flow that has the following steps.
1. Initialize Variable abc
2. Initialize Variable xyz
3. GetItems (from a sharepoint list)
4. For Each Loop
a. Set Variables abc and xyz
b. Run child approval flow
I understand that setting variables within a loop means that you can't run with concurrency > 1, I read that you should use compose instead of variables. Can someone explain this to me please?
Hello @JimJim ,
variables are shared within the whole flow, if you run multiple parallel branches using the same variable they'll update it at the same time, it'll be a mess. 'Compose' action is defined in the specific branch of the flow, if you run the flow in parallel, each parallel branch will use its own 'Compose' action and its output.