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 Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (5,263)