web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Condition keeps coming...
Power Automate
Unanswered

Condition keeps coming up False

(0) ShareShare
ReportReport
Posted on by 8

I'm trying to make a flow creating a new task in Planner based on the Condition an existing task has a certain label. I've currently set it up as:

 

When a task is completed --> Get plan details --> Get a task --> Compose --> Condition: appliedCategories is equal to Category descriptions Category 1 --> If yes: Create a task; If no: blank

 

The trigger task has the label: Pink

 

I've also tried Condition: appliedCategories is equal to Pink, and different labels/category numbers/colors. When I run it, the Compose has INPUTS: "category1": true ; OUTPUTS: "category1": true. All variations keep coming up with the flow running successfully, but registering the Condition expression result as false. 

 

Can anyone explain what needs to be fixed?

 

Thanks,

Cai

 

 

Categories:
I have the same question (0)
  • tom_riha Profile Picture
    10,185 Most Valuable Professional on at
    Re: Condition keeps coming up False

    Hello @d00454642 ,

    it's hard to analyse without any screenshots, but do you use the 'true' value as an expression? That's what I'd try in the condition, not just type in 'true' but enter 'true' as an expression.

  • d00454642 Profile Picture
    8 on at
    Re: Condition keeps coming up False

    Here's a screenshot of everything below the When a Task is Completed trigger:

    Screenshot (24).png

     

    The only "true" value is what the Compose tells me after I test the flow. My understanding is the Compose registers the appliedCategories as existing in the task, but the Condition is still somehow not met.

  • Verified answer
    v-yujincui-msft Profile Picture
    on at
    Re: Condition keeps coming up False

    Hi @d00454642 ,

     

    I agree with what @tom_riha said, sometimes we could use true as an expression in a Condition Action instead of true for text values. 

    In addition, maybe you could try to use another Dynamic content in this case. 

    vyujincuimsft_0-1661246401676.png

     

    vyujincuimsft_1-1661246401678.png

    Result Screenshot: 

    vyujincuimsft_2-1661246401680.png

    Here is a link for your reference. 

    https://powerusers.microsoft.com/t5/Building-Flows/Create-a-new-Planner-task-when-previous-one-is-completed-with-a/m-p/1608812#M179285 

     

     

    Best Regards, 
    Charlie Choi 

  • d00454642 Profile Picture
    8 on at
    Re: Condition keeps coming up False

    Charlie,

    Thanks. The simple change of Color is equal to true seems to have fixed it. (It's so easy to over-complicate these things).

     

    Best,

    Cai

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 462 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard