cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
meeeeeeeshel
New Member

Flow sends email twice

Hi,

 

I have created my first flow; it runs when an email is flagged and forwards the email to another email address, and then moves to another folder.  This is to allow us to pick and choose which emails are forwarded, rather than forwarding everything. Here is my flow:

flow2.PNG

However, it seems to send the email twice. It is only shown in the sent items as sending once, but i receive 2 copies.

 

Any ideas what i am doing wrong?

 

I tried swapping it around to moving the email first and then forwarding, but it then marks the flow as "failed" and we were having some issues with some not arriving, so made it very difficult to troubleshoot.

 

Thanks in advance for your help

 

Michelle

1 ACCEPTED SOLUTION

Accepted Solutions

I just noticed that it doesn't seem like you are using When an email is flagged (V2) trigger, so you may be using When an email is flagged [DEPRECATED] which could be causing this issue. 

If changing to V2 of the trigger doesn't fix your issue(s), then your only real options are to move the To SN folder outside of the Inbox, or to create two separate Flows.

If you opt to create two separate Flows, they'd likely look like this:

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

5 REPLIES 5
Brad_Groux
Super User II
Super User II

Is the To SN folder that you are moving the email to a sub-folder of the Inbox? If it is, that is why the email is being sent twice. When you move the email, it is re-triggering the Flow. The easiest way to check this, would be to invert the steps, putting the Move email step before the Forward an email step.

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

Hi, thanks for your reply! Yes it is in the inbox. I did try inverting them, and it works in that I only get one email forwarded, but I then get the flow marking it as failed, even though it hasn't actually failed as the email is sent. Which i was going to ignore, but we tried sending lots of emails at once to check tat it was able to cope with a large volume of mails - and a couple didn't get forwarded, and i couldn't work out why as they were all marked as failed (if that makes sense).

 

This is the failure code i get:

 

404.PNG

 

Michelle

I just noticed that it doesn't seem like you are using When an email is flagged (V2) trigger, so you may be using When an email is flagged [DEPRECATED] which could be causing this issue. 

If changing to V2 of the trigger doesn't fix your issue(s), then your only real options are to move the To SN folder outside of the Inbox, or to create two separate Flows.

If you opt to create two separate Flows, they'd likely look like this:

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

v-alzhan-msft
Community Support
Community Support

Hi @meeeeeeeshel ,

 

Please take a try with @Brad_Groux 's suggestion to create two flows and then your problem could be solved.

 

Best regards,

Alice       

 

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thank you Brad, this worked using the new version.

 

Many thanks

 

Michelle

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (1,280)