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 won't trigge...
Power Automate
Answered

Condition won't trigger correctly.

(1) ShareShare
ReportReport
Posted on by 13
Hello, Apologies if this is a way simple question.  I am at my wit's end.   
 
I built a very simple flow:  I created a MS Form with 20 questions.  ONE of those questions is a number (restricted entry).  I am using Power Automate to route an email based on the amount provided in the form:  Everything over 250 gets one email message. Everything 250 and under gets a different email.   But when I run the flow... the result defaults to "True" branch every time.   The condition does not seem to recognize the number from compose.  Any advice is appreciated.  
 
Categories:
I have the same question (0)
  • Suggested answer
    trice602 Profile Picture
    16,016 Super User 2026 Season 1 on at
    Hi,
     
    The root cause here is you need to wrap your question in an int() expression.  Even though the form question is restricted to numbers, the results still come into Power Automate as a string.
     
    Works in testing.  I tried 250 and 251, condition works!
     
     
     
    ------------------------------------------------


    If this was helpful, please like and/or mark as a verified answer to help others find this too!


    Always glad to help! 💯💯💯💯💯

    Tom 

    Follow me on LinkedIn - Thomas Rice, PMP | LinkedIn

     

     
  • Verified answer
    Hannah123456 Profile Picture
    13 on at
    IT WORKED PERFECTLY!   THANK YOU SO MUCH!!!! 
     
  • trice602 Profile Picture
    16,016 Super User 2026 Season 1 on at
    Nice!  Please mark as a verified answer to help others find this common question too!  Respectfully, Tom

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!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 250 Super User 2026 Season 1

#2
Expiscornovus Profile Picture

Expiscornovus 222 Most Valuable Professional

#3
Haque Profile Picture

Haque 174

Last 30 days Overall leaderboard