Greetings,
First help post but I have been using this board regularly for help. Now I have a question without a obvious answer...
I have a flow with an apply to each. I learned quickly when doing this it pays to avoid variables as you have to set concurrency to 1 if you do. My specific issue is with using a switch inside an apply to each. See the flow below, again all inside and apply to each. I take job number which is say 20-6105 and grab "6" in Compose. Switch takes that number and sets "Salesman" variable based on the Compose output. The value in "Salesman" is used to point the Sharepoint Get Items to the correct list.
The fourth position of job number, "6" in my example equates to the salesman. I need a method to convert these AND use the correct answer to perform the get items. I can't use compose as the "outputs()" will be different depending on the outcome of switch. To be clear the flow below works perfectly. Its simply WAY too slow. The runtime is about 4 hours.
So... Please help me get rid of this variable if possible.
