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

How to send an automatic email when a Planner task with a certain category is completed

Hello!

 

I would like to create a flow consisting of sending an email notification to certain users in the company when a Planner task of a certain category is marked as completed.

 

My attempts have focused on adding a condition between 'When a Task is completed' and 'Send an email notification'. This condition is based on selecting: the 'appliedCategories' value is equal to 'category2' value (Red Category). However, it always returns "False" in all situations.

 

Example (Spanish language)Example (Spanish language)

 

Can someone give me a hand?

 

Thanks in advance.

1 ACCEPTED SOLUTION

Accepted Solutions
tom_riha
Super User
Super User

Hello @Sergio_Rico ,

if you check the description of the 'Red' (or any other) category dynamic content, it tells you that the value of the 'Red' dynamic content is 'true' if the planner task had the red category. Therefore, you should compare the 'Red' (or other category) dynamic content with 'true' expression in the condition.

image.png



[ If I have answered your question, please Accept the post as a solution. ]
[ If you like my response, please give it a Thumbs Up. ]

[ I also blog about Power Automate solutions even for non-IT people. ]

View solution in original post

3 REPLIES 3
tom_riha
Super User
Super User

Hello @Sergio_Rico ,

if you check the description of the 'Red' (or any other) category dynamic content, it tells you that the value of the 'Red' dynamic content is 'true' if the planner task had the red category. Therefore, you should compare the 'Red' (or other category) dynamic content with 'true' expression in the condition.

image.png



[ If I have answered your question, please Accept the post as a solution. ]
[ If you like my response, please give it a Thumbs Up. ]

[ I also blog about Power Automate solutions even for non-IT people. ]
Sergio_Rico
New Member

Hello @tom_riha ,

 

Thank you very much, that was exactly what I was trying to do. I understood that adding a category value in a condition already came defined by default with "true". As you indicated, the flow works perfectly.

 

Thanks again.

 

Best regards.

I came across this post and was having the same issue. I was hoping you could tell me how to create the “true” expression (I don’t see it as an option). Many thanks!

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 (1,740)