Skip to main content

Notifications

Community site session details

Community site session details

Session Id : CZvSsQpZem65HyXObcBWDM
Power Automate - Building Flows
Unanswered

Create Planner Tasks for Flagged Emails - makes Duplicates

Like (0) ShareShare
ReportReport
Posted on 22 Apr 2021 02:05:12 by 84

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

  • dgillespie Profile Picture
    84 on 06 Apr 2023 at 17:19:04
    Re: Create Planner Tasks for Flagged Emails - makes Duplicates

    No, the only solution I have found to not create duplicates is to unflag the email after the Planner task is created.  This will prevent new Planner tasks from being created when new email arrives in that thread.

  • ingusu Profile Picture
    4 on 06 Apr 2023 at 05:43:35
    Re: Create Planner Tasks for Flagged Emails - makes Duplicates

    Hello!

     

    Same problem, is any solution for this?

    Previous post solution is not really for this type of flow.

  • Mira Ghaly Profile Picture
    11,409 Super User 2025 Season 1 on 22 Apr 2021 at 21:18:41
    Re: Create Planner Tasks for Flagged Emails - makes Duplicates

    @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/805420#M112099

     

  • dgillespie Profile Picture
    84 on 22 Apr 2021 at 15:07:41
    Re: Create Planner Tasks for Flagged Emails - makes Duplicates

    @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

  • Mira Ghaly Profile Picture
    11,409 Super User 2025 Season 1 on 22 Apr 2021 at 09:13:55
    Re: Create Planner Tasks for Flagged Emails - makes Duplicates

    @dgillespie 

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

     

  • dgillespie Profile Picture
    84 on 22 Apr 2021 at 03:33:17
    Re: Create Planner Tasks for Flagged Emails - makes Duplicates

    @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 Profile Picture
    11,409 Super User 2025 Season 1 on 22 Apr 2021 at 02:16:14
    Re: Create Planner Tasks for Flagged Emails - makes Duplicates

    @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?

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,743 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,089 Most Valuable Professional

Leaderboard