Hello,
In the below workflow, I have a trigger that is looking at when a new item or file is modified with these two trigger conditions:
The below get user profile and ger manager actions are getting their inputs from an EmailAddress field in the trigger 'Declarations' list.
Next, I have an apply to each that gets the value of an item in the 'Colleague Data' list and then further down a switch Action is used which starts a case (Approvals workflow) depending on a FormStatus Value in the 'Colleague Data' list.
The issue I'm having however is that when I run this workflow against items in the 'Colleague Data' list that match one of the 3 status values, a workflow starts and when it gets to 'Apply to each 5', it seems to be looping through 100 items.
I am worried that there are 100 Approval emails going out to the Manager whose user profile is obtained in the 'Get manager' action. Only one item should go to a manager at a time - should I be using concurrency control here and set to '1'?
Would really appreciate some assistance here 😕 as am freaking out a bit!