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 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
    15,502 Super User 2025 Season 2 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
    15,502 Super User 2025 Season 2 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

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
Expiscornovus Profile Picture

Expiscornovus 185 Most Valuable Professional

#2
harshdeol Profile Picture

harshdeol 167 Moderator

#3
S-Venkadesh Profile Picture

S-Venkadesh 159 Moderator

Last 30 days Overall leaderboard