Hi all.
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!
Can you share a screenshot from your flow design?
Take care and stay healthy!
Proud to be a Flownaut!
hi @efialttes ,
here is my flow:
1. get approvers email and store it in 1 variable. Send approval
Get approvers list name from sp list and store it in 1 variable
2. If all approvers approve the request.
3. Email will be sent once to user and admin to inform it has been approved.
Hello @_kikilalaaa
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
Proud to be a Flownaut!
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
Proud to be a Flownaut!
HI @Jcook , my flow is the same as i sent before. i just changed "outcomes" to "responses".
Thank you for helping!
Hello @_kikilalaaa
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.
Proud to be a Flownaut!
Proud to be a Flownaut!
User | Count |
---|---|
22 | |
15 | |
14 | |
10 | |
9 |
User | Count |
---|---|
48 | |
29 | |
28 | |
25 | |
23 |