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 / Condition returns fals...
Power Automate
Answered

Condition returns false (should be true)

(0) ShareShare
ReportReport
Posted on by 4

I can't figure out why the I keep getting an "input false" response for this flow.

 

Purpose: The responder submits a form that needs a different approver based on the value and location of the request. I'm trying to set up a condition for "value is greater than string(2500) and less than or equal to string(10000)". Following the approval, an item is added to a sharepoint list.

 

If I remove the second condition, the flow works fine, but adding the second one makes it fail. Changing to "OR" works, but that won't fit my requiremts because then any value under 2500 would also continue through the flow. 

 

In the screenshot I haven't added the approval part yet because the condition is still failing, I will add that later. 

 

Any help is greatly appreciated. Thanks.

 

AK2000_0-1650816522762.png

 

Categories:
I have the same question (0)
  • Verified answer
    shoog Profile Picture
    2,164 on at

    If you want to do a numerical comparison, you should convert the left side of the comparison to an integer, using the int function, rather than convert the value to a string.

    You are comparing strings now, where for example string(20) > string(111) since the first character 2 > 1.

  • AK2000 Profile Picture
    4 on at

    Understood, thank you! 

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 592

#2
Valantis Profile Picture

Valantis 340

#3
11manish Profile Picture

11manish 284

Last 30 days Overall leaderboard