I have a flow with start and wait for approval- Everyone must respond.
if everyone approved, an email will be sent to user, saying that the request has been sent.
How do i do that? because now i have 3 approvers. when 3 of them approved, user received 3 emails instead of 1.
hi @efialttes ,
here is my flow:
1. get approvers email and store it in 1 variable. Send approval
2. If all approvers approve the request.
3. Email will be sent once to user and admin to inform it has been approved.
You will want to remove the apply to each loop.
You can use the condition like you are using but instead of Outcome use Responses.
So for example. If you have 3 approvers and 2 approve and 1 rejects, the Responses array will look like:
['Approve', 'Approve', 'Reject']
So you can still use your condition of does not contain Reject
Responses = an array of all responses
Outcome = single response
hi @Jcook ,
even when i use response, it still send the email 3 times because there are 3 approvers. this is weird because response should summarize all right
Please take a look at my example:
Notice how the Send an email action is not inside a loop. The Approval responses do not need to be in a loop as well.