Really simple flow. When a sharepoint list item is modified, it Gets Item.
Then a valid If test that branches on a comparison of the Approve_Level of the Item and a SentEmail value.
The records start at 0 and 0 and the condition validates. The last step in the flow adds 1 to the SentEmail value so no emails gets sent until the approval_level increases. This works a treat.
My problem is in the send email loop.
The first step in the Yes side gets the approvers to email. That lookup works. For my current test, it's returning two users.
Then I added a single apply to each to tell it to send an email, but when I have/had just that individual apply to each, PowerAutomate decided I need them nested.
So the outer loop uses Get Approvers to Email.Value (which seems to be the right list)
And the inner loop uses the same value.
Because of this, instead of the two of us getting one email each, we get two. I assume if there were three people in value we'd get three messages.
So how do I either have just one loop that works, OR, what is the current input in the inner loop?


Report
All responses (
Answers (