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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Condition returns fals...
Power Automate
Unanswered

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

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