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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Conditions Evaluating ...
Power Automate
Suggested Answer

Conditions Evaluating Incorrectly

(1) ShareShare
ReportReport
Posted on by 2
I am trying to add the Condition controls to my function, but it keeps evaluating incorrectly. For example it will evaluate the expression as true and then continue down the false branch. 

 
Or it will evaluate incorrectly period. In the below example, both of the conditions evaluate to true, the entire expressions should evaluate to true, but it is evaluating as false and going down the false branch. 



This has not happened before, and I am wondering if it has to do with this new UI update that is allowing us to see the parameters in the condition results function view. 
Categories:
I have the same question (0)
  • Vish WR Profile Picture
    1,122 on at
     
    reason for this behaviour could be due to data type mismatch .
  • Suggested answer
    11manish Profile Picture
    1,467 on at
    Your condition is not truly evaluating incorrectly.

    This behavior is caused by Power Automate designer UI inconsistencies or hidden data/type issues.

    Validate using Run History, normalize your values, and use explicit expressions to ensure consistent results.
     
    Few common issues: 
     
    Data type mismatch
    Things that look true may not be:
    • "true" (string) ≠ true (boolean)
    • "1" ≠ 1
    • null ≠ "" (empty)
    Example:
    • equals('true', true)  → false
    Hidden values (spaces / nulls)
    • Trailing spaces: "Yes " ≠ "Yes"
    • Null vs empty string breaks equality checks
    AND/OR grouping confusion
    UI conditions can evaluate differently than expected due to grouping:
    What you think:
    • (A AND B)
    What it may behave like:
    • A AND (B OR C)
  • Suggested answer
    Haque Profile Picture
    1,975 on at
     
    As  @11Manish mentioned, evaluation sometimes confusing, please make sure the comparison of data types of both sides are smae. One example I alwasy set like here. Please see the internal behaviour of the expression and vs  non expression declaration.
     
       
    “false” is typed directly but not taken from Expression window Code view the declaration
    “false” is typed in Expression window Code view the declaration, please note "@false" value 
     
     

    I am sure some clues I tried to give. If these clues help to resolve the issue brought you by here, please don't forget to check the box Does this answer your question? At the same time, I am pretty sure you have liked the response!

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 607

#2
Valantis Profile Picture

Valantis 495

#3
Vish WR Profile Picture

Vish WR 429

Last 30 days Overall leaderboard