cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
dgillespie
Advocate II
Advocate II

Create Planner Tasks for Flagged Emails - makes Duplicates

Hi, I have a flow that I based off the template Create Planner Tasks for Flagged Emails but it sometimes creates duplicates.  I am using webmail and in my testing I am being careful to only flag one email in the thread but it still creates duplicate tasks.  I have tried variations of this and they all create dupes so I am wondering if I need another action that checks to see if the email was previously flagged?

 

Here is my Flow:

Part 1Part 1Part 2Part 2Part 3Part 3Part 4Part 4

 

Here is a sample of the dupes it created:

Planner dupesPlanner dupes

5 REPLIES 5
Mira_Ghaly
Dual Super User II
Dual Super User II

@dgillespie

Can you share a screenshot of your whole flow structure? Are you checking somewhere if the task already exists in planner before the create planner task step?

 

If this post helps you with your problem, please mark your as Accepted solution.If you like my response, please give it a Thumbs Up.

Blog: here

@Mira_Ghalyhere is my whole flow (refer to the screenshots in the original post for the expanded version).  I have verified (by manually checking) the task doesn't appear in Planner before I flag the email.  Thanks.

 

entire flowentire flow

Mira_Ghaly
Dual Super User II
Dual Super User II

@dgillespie 

Did you check the flow history to check if this flow has been invoked only once or more than one time?

 

If this post helps you with your problem, please mark your as Accepted solution.If you like my response, please give it a Thumbs Up.

Blog: here

@Mira_Ghalyyes, for the above mentioned duplicate, there are two different flow runs, only 15 seconds apart.

 

2021-04-22_8-03-58.png2021-04-22_8-04-24.png

@dgillespie

Can u please check the below solution of a similar issue

https://powerusers.microsoft.com/t5/Building-Flows/Create-a-MS-Planner-task-avoid-duplicates/m-p/805...

 

If this post helps you with your problem, please mark your as Accepted solution.If you like my response, please give it a Thumbs Up.

Blog: here

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (7,028)