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 / Unable to process temp...
Power Automate
Answered

Unable to process template language expressions for action 'Symptom_checker' at line '1' and column '39778': 'The template language function 'greaterOrEquals' expects two parameter of matching types. The function was invoked with values of type 'String' and 'Float' that do not match.'.

(0) ShareShare
ReportReport
Posted on by 40

I have condition with two validations, the data source is coming from a MS form. This is for COVID checks, if the user says yes to any of the symptoms, they should get a text telling them to speak to their supervisor, I have 2 validations where one division has a different threshold for the person's temperature than the rest of the facilities. This is where I am getting an error. In my condition I have the covid questions in one group then I have the other facility in a separate group, I tell it that if the division is X and temp is =>100.4 and they have said yes to any of the questions this is a yes and should flag this. This only works when I remove the current temp validation.

symptom checker.png

Categories:
I have the same question (0)
  • Verified answer
    Gopala_Krishna Profile Picture
    1,495 on at

    @yvettePrice 

     

    On the right hand side of the condition where you are passing the numerical value, can you please try formatting the data as a string using the string() function and specify the value inside that. The condition will look something like Current Temp is greater than string('100.4')

     

    Currently the flow is converting the value to a floating point integer and the value on the left hand side is a string so flow is unable to compare due to which you are getting the error. convert the RHS value to string and it will start working as expected.

     

    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    if the information shared helps you, please consider giving a thumbs up 👍 and mark solution as resolved

  • yvettePrice Profile Picture
    40 on at

    Thank you Gopala! That did the trick.

  • Orson Profile Picture
    Microsoft Employee on at

    I tried the similar thing and it doesn't work. For eg: Amount is greater than on equal to sring('25000'), the outpu is cancelled for both the amounts i.e. less than 25k or greater than 25k, or it's vice versa. Any thoughts on this one?

  • shifamomin35 Profile Picture
    21 on at

    Hi Gopala Krishna, I have a condition such that I wnat to compare column completion is less than 100 send an email its giving an error like this.

    error

    Unable to process template language expressions for action 'Condition' at line '0' and column '0': '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.'.

    I tried String('100') but it not working condition is failing howing false though I have record with less than 100.

     

  • AC-11111516-0 Profile Picture
    2 on at
    Thanks Gopala for this ingenious solution of yours. I applied it in a different scenario. The flow runs successfully but I don't receive any emails. It is meant to send me an email if the condition is met. Could you tell me why would that be please? 

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

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard