cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Megs_beach
Helper I
Helper I

Using Planner Flags in a flow condition

I am attempting to use the color of the planner flags as part of a condition in an automated flow. Basically, if a red flag is on the planner task I want it to move the item to another bucket. But if there is no flag, I want the task to move to a different bucket. The trigger for both is completing the task.

 

I have tried setting the condition to (flag color) = true and (flag color)=(flag color), but neither seem to work. It either doesn’t recognize the flag color or assumes that every task has that color flag even if they don’t.

 

Any guidance/help on building this sort of flow is much appreciated.

3 REPLIES 3
a_hansen
Helper I
Helper I

This might not be the most elegant version of the solution, but something like this might be able to get you going.

2021-02-15 21_39_12-Edit your flow _ Power Automate.png

If your flow isn't working, could you post a screenshot of what you've got?

Megs_beach
Helper I
Helper I

I attempted to use the suggestion from @a_hansen; however it causes the flow to follow both branches and creat duplicate tasks. 

This is my current set-up:

27F08077-32DB-4BAD-9B81-D4F5EB1DD984.jpeg

It always says the expression is false even when the flag is present. I’ve tried replacing “True” with “Yes” and with the flag dynamic content, but neither option has worked.

 

I would greatly appreciate if knows how to fix the condition so that it will recognize when a flag is present. Unfortunately I can’t do it in a switch because this condition is already located within a switch set-up.

George_NL
New Member

I was having similar issues.    Finally discovered that it needs to be phrased using "True"   (is equal to/is not equal to True).    ALSO, the true needs to be entered in as a function, otherwise it treats it as a string. 

Condition using True.jpg

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!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Users online (2,132)