cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Tbruns
Post Patron
Post Patron

Microsoft Power Automate creating multiple Planner tasks for Flagged Outlook Email

I have created a flow to create a planner task when I flag an email in Outlook. When anyone replies I get multiple tasks created in Planner. How do I get it to stop creating multiple tasks? 

 

 
 

09-23-2020 2-13-18 PM.jpg09-23-2020 2-13-32 PM.jpg09-23-2020 2-13-39 PM.jpg

1 ACCEPTED SOLUTION

Accepted Solutions

 

 

I am providing an improvement plan based on your configuration.

 

Filter array to filter tasks with the same subject and title.

The expression in Compose is used to determine whether there are qualified tasks in the Filter array.

 

If the result is equal to 0, indicating that such a task does not exist, then a new task can be created.

So the parameters in Condition are Compose's output and 0 respectively.

 

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

View solution in original post

5 REPLIES 5
v-bacao-msft
Community Support
Community Support

 

Hi @Tbruns ,

 

If someone replies, do you need to update the task details? If not, it seems that you only need to check whether a task with the same title has been created.

  1. Set the condition in the Filter array to "is equal to".
  2. When configuring Condition, the left parameter is the output of Compose, and the right parameter is set to 0.

Hope that makes sense.

 

Best Regards,

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

@v-bacao-msft 

I understand the Filter Array but can you explain this?

When configuring Condition, the left parameter is the output of Compose, and the right parameter is set to 0.

 

 

I am providing an improvement plan based on your configuration.

 

Filter array to filter tasks with the same subject and title.

The expression in Compose is used to determine whether there are qualified tasks in the Filter array.

 

If the result is equal to 0, indicating that such a task does not exist, then a new task can be created.

So the parameters in Condition are Compose's output and 0 respectively.

 

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

View solution in original post

@v-bacao-msft 

Sorry I am really new to expressions etc.  Is this correct?

 

Tbruns_0-1601041105517.png

 

 

 

 

Hi @Tbruns ,

 

This is correct and consistent with the method I described. Please take a try and feel free to let me know if the issue still exists.

 

Best Regards,

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

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.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Top Solution Authors
Users online (2,219)