Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

My condition will no register my Microsoft forms answer as a number. Help please?

(0) ShareShare
ReportReport
Posted on by 8

Hello,

 

I have tried to add a condition into my flow basically if the number of hours entered (this is is number format in the form) is between 8 and 32 I want it to trigger an approval. I have tried converting it with string as seen in the image below but this does not work.

powernewbie221_0-1670379015461.png

 

I have entered 9, 11, 20 into the form and the condition reads as false.

 

Any help would be much appreciated.

 

I am also very new to Power Automate so very basic level explanation would be much appreciated.

  • powernewbie221 Profile Picture
    8 on at
    Re: My condition will no register my Microsoft forms answer as a number. Help please?

    OMG it worked!! Thank you so much for your help I was stuck on that yesterday for hours!

    Thank you Dezhi 😁

  • Verified answer
    v-dezhili-msft Profile Picture
    Microsoft Employee on at
    Re: My condition will no register my Microsoft forms answer as a number. Help please?

    Hi @powernewbie221 ,

     

    This doesn't matter, as long as your output is in a numeric format.

    vdezhilimsft_0-1670384716972.png

     

    vdezhilimsft_1-1670384716973.png

     

    Best Regards,

    Dezhi

  • powernewbie221 Profile Picture
    8 on at
    Re: My condition will no register my Microsoft forms answer as a number. Help please?

    Hi Dehzi,

     

    The form is not a drop down it is a free type but number only, does that make a difference?

     

    powernewbie221_0-1670384289908.png

    I have changed both to integer

     

    powernewbie221_1-1670384322345.png

     

    The flow failed, it says no outputs

  • v-dezhili-msft Profile Picture
    Microsoft Employee on at
    Re: My condition will no register my Microsoft forms answer as a number. Help please?

    Hi @powernewbie221 ,

     

    Sorry for not being clear.
    What you need to do is convert the output of the trigger to an integer.

     

    Best Regards,

    Dezhi

  • powernewbie221 Profile Picture
    8 on at
    Re: My condition will no register my Microsoft forms answer as a number. Help please?

    Hi Dezhi, how do I do that?

     

    I changed it to this and this is the error message I received.

     

    powernewbie221_0-1670383724266.png

     

    InvalidTemplate. Unable to process template language expressions for action 'Condition_3' at line '0' and column '0': 'The template language function 'greater' expects two parameter of matching types. The function was invoked with values of type 'String' and 'Integer' that do not match.'.

  • v-dezhili-msft Profile Picture
    Microsoft Employee on at
    Re: My condition will no register my Microsoft forms answer as a number. Help please?

    Hi @powernewbie221 ,

     


     Please try convert them both to integer with int().

    vdezhilimsft_0-1670383798406.png

     

    vdezhilimsft_1-1670383798407.png

     

    vdezhilimsft_2-1670383798408.png

     

     

    Best Regards,

    Dezhi

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 566 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 516 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 492