Hi everyone,
I have an approval flow that requires several approvals, one after the other. I would like that at the end of the approval flow, an e-mail with all the attachments included in the item was sent. I managed to do that and at the end all attachments are sent together in one e-mail, but an extra e-mail is sent with just one attachment. How can I stop this extra e-mail to be sent?
Closer look
Thanks in advance
Solved! Go to Solution.
Hi @hennsab ,
The reason for this problem is:
1. [Apply to each] to get the attachment, put it into the array, and then send the email immediately
2. Every time it is executed, an email will be sent
I assume the correct flow would be: collect all attachments, then send the email.
Please put [Send an email(V2)] outside of [Apply to each ],
so that an email will be sent after the attachment is collected.
Best Regards
Cheng Feng
Hi @hennsab ,
The reason for this problem is:
1. [Apply to each] to get the attachment, put it into the array, and then send the email immediately
2. Every time it is executed, an email will be sent
I assume the correct flow would be: collect all attachments, then send the email.
Please put [Send an email(V2)] outside of [Apply to each ],
so that an email will be sent after the attachment is collected.
Best Regards
Cheng Feng
It worked, thanks a lot!