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 Automate - Building Flows
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

 

I have the same question (0)
  • Verified answer
    shoog Profile Picture
    2,164 on at
    Re: Condition returns false (should be true)

    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
    Re: Condition returns false (should be true)

    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 614 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 401 Moderator

#3
chiaraalina Profile Picture

chiaraalina 282

Last 30 days Overall leaderboard