cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
dgoins
New Member

Power Automate - Send an Email when a SPECIFIC Planner Task is Done

Here's how my Flow is supposed to run:

A member of the organization submits a Form > Power Automate creates a Planner Task, filling it out using the information from the form > Once the task is completed, the responder receives an email saying the task associated with the form they submitted is complete.

The first two steps work perfectly, but the response step is where I'm having the issue.Screen Shot 2021-10-28 at 11.46.56 AM (2).png

 

The Trigger is too general. The Flow's precision goes from Campus (List) > Stage (Bucket)Issue (Task). I need the Trigger to be more precise so that when that specific task is finished, it triggers the next steps. The problem with the Trigger being too general is that if multiple people submit forms for 1 list, when one of the tasks in the list is marked complete every one of those people get an email.

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @dgoins :

You could add a condition action to judge if the completed task the SPECIFIC Planner Task.If yes,then send the email.

vbofengmsft_0-1635490825259.png

 

Best Regards,

Bof

View solution in original post

7 REPLIES 7
eliotcole
Super User
Super User

Could you split the current flow into two flows?

  1. One (based on this initial flow) handles the creation and updating tasks off of the initial input.
  2. The second, which fires on the When a task is completed Planner trigger, handles the completion tasks.

But how would it trigger when a specific task is completed? That trigger is too general, because it goes when any task in the plan is completed

eliotcole
Super User
Super User

It would fire whenever any task is finished, yes, but it would only fire to the members of the task itself, something which you would define in the logic, no?

No, it would fire an email to anyone who posted a task in that list.

eliotcole
Super User
Super User

OK, well ... good luck!

Hi @dgoins :

You could add a condition action to judge if the completed task the SPECIFIC Planner Task.If yes,then send the email.

vbofengmsft_0-1635490825259.png

 

Best Regards,

Bof

Hey @v-bofeng-msft!

This works!! My only question now is how can the flow go back when the condition returns false? Is there a do-while loop, maybe?

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 (4,009)