web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Create a MS Planner ta...
Power Automate
Unanswered

Create a MS Planner task (avoid duplicates)

(0) ShareShare
ReportReport
Posted on by 6

Hello,

I'm sure you can help me creating a successful flow. 
I have tried to create a flow that will create MS Planner tasks to my colleagues once and email arrives to a specific e-mail address. 

That part initially works, however I want to optimize it before we take it into use and duplicates have been the worst problem. 
As a new task will be created everytime a response is sent - I have tried to look but couldn't find a proper solution...
snip.JPGsnip1.JPG

 

This flow is my first and I'm sure an experienced user will find this task rather easy. 

All inputs are appreciated!

Best regards,
Sebastian

Categories:
I have the same question (0)
  • fchopo Profile Picture
    8,003 Moderator on at
    Re: Create a MS Planner task (avoid duplicates)

    Hello @SebastianLylov 

    In the "condition 2" you could check whether there is any item in the filter array operation, with something like: length(Body(‘Filter_array’)) is equal to 0 

    Hope it helps!

    Ferran

     

  • SebastianLylov Profile Picture
    6 on at
    Re: Create a MS Planner task (avoid duplicates)

    @fchopo thank's for taking your time to look at my flow. 
    However I'm not sure what you mean - as condition 2 doesn't have a filter array, that one is before and I assume linked with condition 1? (I've attached a photo) - I'm not sure either how I should implement your suggestion, I would prefer a photo of your suggestion (Sorry if I'm being troublesome) 🙂

    SebastianLylov_0-1611316808249.png

     

  • fchopo Profile Picture
    8,003 Moderator on at
    Re: Create a MS Planner task (avoid duplicates)

    Hello @SebastianLylov 

    Why do use "true" as a condition in "condition 2"? I would check if the filter array output contains items or not.

    Regards,

    Ferran

  • SebastianLylov Profile Picture
    6 on at
    Re: Create a MS Planner task (avoid duplicates)

    Hey Ferran,

    I got some inspiration from this thread. (Solved: Re: Avoid duplicates re: Flow connecting events in... - Power Platform Community (microsoft.com))
    However I couldn't exactly manage to twist it to my purpose, this is also why I have filter array. 

  • Verified answer
    fchopo Profile Picture
    8,003 Moderator on at
    Re: Create a MS Planner task (avoid duplicates)

    Hello @SebastianLylov 

    Please, in the left part of the "condition 2" action add the following expression:

    empty(body('filter_array'))

    and in the right side "is equal to true".

    Hope it helps!

    Ferran

  • SebastianLylov Profile Picture
    6 on at
    Re: Create a MS Planner task (avoid duplicates)

    @fchopo thanks a lot - I worked out a flow now and will give it some days to test it 🙂

  • llittle Profile Picture
    2 on at
    Re: Create a MS Planner task (avoid duplicates)

    Did your new flow work or is it still creating duplicates. Inquiring minds would like to know. 

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 462 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard