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 Automate
Unanswered

Condition Issue

(0) ShareShare
ReportReport
Posted on by 2

Hi,

 

Can anyone help please.

 

I have a condition where I send an email to one address if the value input < 30 or another email address if the value input => 30.  When I input 9 it sends it to the incorrect email address when I input 09 it sends it to the correct email address.  How do I get it to accept 1 digit?

 

Thanks,

 

Adrian.

Categories:
I have the same question (0)
  • FrostedFlake Profile Picture
    138 on at

    Am i right that "09" gets interpreted as >=30 and "9" as <30?

    Please make a screenshot of your condition!

  • Community Power Platform Member Profile Picture
    on at

    Yeah, it sounds like the age-old comparing of inconsistent datatypes issue. 

    Try using   fn:  int(input value)   to convert "9" to 9.

  • Adrian3 Profile Picture
    2 on at

    Hi,

     

    I tried fx int('30'') and and fx int(30), it came up with the following error n each occasion:-

     

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

     

    Thanks for your help so far.

     

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 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard