cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

How to stop adding email replies as new task: Outlook to Planner

Reference: https://powerusers.microsoft.com/t5/Microsoft-Flow-Community-Blog/Create-Planner-Task-and...

Was able to get the flow to work great but when the original email is replied to it also cretes a new task.  Is there a way to:

  1. Only create a new task for the 1st email of that subject line that is sent
  2. Add additional emails replied to in the comments section of the new task that was created.

 

@AlanPs1

1 ACCEPTED SOLUTION

Accepted Solutions
v-yamao-msft
Community Support
Community Support

Hi @Anonymous ,

 

To stop adding email replies as new task, before creating the task, you need to check whether a task already exists or not.

 

I have set up a flow likes below for your reference.

 

Before creating a task, I initialized an array variable for all existing tasks, adding a condition to check if the variable contains the subject of the new email. If no, which means that the task doesn’t exist, create a new one.

 

Please take a try with it on your side.

1.PNG

 

Best regards,

Mabel

 

Community Support Team _ Mabel Mao
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

1 REPLY 1
v-yamao-msft
Community Support
Community Support

Hi @Anonymous ,

 

To stop adding email replies as new task, before creating the task, you need to check whether a task already exists or not.

 

I have set up a flow likes below for your reference.

 

Before creating a task, I initialized an array variable for all existing tasks, adding a condition to check if the variable contains the subject of the new email. If no, which means that the task doesn’t exist, create a new one.

 

Please take a try with it on your side.

1.PNG

 

Best regards,

Mabel

 

Community Support Team _ Mabel Mao
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

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

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.

Users online (1,416)