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 / Invalid Template Langu...
Power Automate
Answered

Invalid Template Language on Condition

(0) ShareShare
ReportReport
Posted on by 4
Hello all,
 
Could you please help me on the flow created as  I am receiving the below error.
 
 InvalidTemplate. Unable to process template language expressions for action 'Condition_2' at line '0' and column '0': 'The template language function 'lessOrEquals' expects two parameter of matching types. The function was invoked with values of type 'String' and 'Integer' that do not match.'
 
I have created a flow that checks as firs Condition the refund value and second condition if the value is Euro currency to check the below. the flow is designed to have 2 colums of values the Refund value and the Currency Converter. 
The condition should be if the refund value is Less or equal to 1000 start the approval process. I have tried also to change the condition to currency converter but I have the same error.
Categories:
I have the same question (0)
  • Suggested answer
    Nived_Nambiar Profile Picture
    18,136 Super User 2026 Season 1 on at
     
    Could you check what is the value of Currency dynamic content which you are comparing with a numeric value ?- seems like that dynamic content value is not numeric ?
     

    Thanks & Regards,
    Nived N

    Stay connected:
    LinkedIn | YouTube | Blogs

    Was this answer helpful?
    If yes, please mark it as the solution by selecting the checkbox in the discussion thread.
    Your feedback motivates me to keep contributing. Thank you!

  • Verified answer
    Expiscornovus Profile Picture
    33,768 Most Valuable Professional on at
     
    The error suggests that the field you are using in your condition is a string (text value). You are comparing that with a number value (integer). The types need to match.
     
    One way to fix this is to specifically use text on the right side.
     
    Try the below expression instead of 1000 in your Condition 2 action:
    string('1000')


    Happy to help out 😁

    I share more #PowerAutomate and #SharePointOnline content on my Blog, Bluesky profile or Youtube Channel
  • CU06011106-0 Profile Picture
    4 on at
    Thank you for the responses. @Expiscornovus it has worked fine with the String proposed.
     
    Best Regards,

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 262 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 227

#3
Expiscornovus Profile Picture

Expiscornovus 225 Most Valuable Professional

Last 30 days Overall leaderboard