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
Unanswered

Unable to process template language expressions for action 'Condition' 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.'.

(0) ShareShare
ReportReport
Posted on by

Hello!! im geting this error message

 

Unable to process template language expressions for action 'Condition' 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.'.

 

This is my flow:

 

FullyPrepare_0-1692082668930.pngFullyPrepare_1-1692082688197.png

 

 

its shows that the error is at this part:

 

FullyPrepare_2-1692082742492.png

 

Categories:
I have the same question (0)
  • Manish Solanki Profile Picture
    15,099 Super User 2025 Season 2 on at

    Hi @Anonymous 

     

    Pls try wrapping the left side operand with int() formula. This will convert the string value to integer to perform the comparison. Formulas need to be added as expression in the expression box as shown below:

    ManishSolanki_0-1692084395838.png

    Expression used for left hand operand:

    int(item()?['level1status'])

    Pls replace 'level1status' with the actual form field name used in your flow.

     

    If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.

     

    Thanks

  • Community Power Platform Member Profile Picture
    on at

    Hello!! tks for your time!!

     

    it gets an error again:

     

    FullyPrepare_0-1692086800577.png

     

    i edit the field 

    int(item()?['level1status'])

    and replace 'level1status' to form filed name that im using "get response details"

    FullyPrepare_1-1692086837862.png

     

  • Manish Solanki Profile Picture
    15,099 Super User 2025 Season 2 on at

    Hi @Anonymous 

     

    Pls check the value of form field in previous history run for the failed case. Is that value empty string or null?

     

    Thanks

  • Manish Solanki Profile Picture
    15,099 Super User 2025 Season 2 on at

    Hi @Anonymous 

     

    Pls add one more condition which will check if the form field is integer or not. This condition should be first in the order of execution. Pls add this conditional row before the existing row as shown below: 

    ManishSolanki_1-1692089498843.png

    Expression used for left side operand:

    isInt(item()?['level1status'])

    Pls replace 'level1status' with actual form field.

     

    Expression used for left side operand:

    true

     

    If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.

     

    Thanks

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…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 339 Super User 2025 Season 2

#1
trice602 Profile Picture

trice602 339 Super User 2025 Season 2

#3
David_MA Profile Picture

David_MA 270 Super User 2025 Season 2

Last 30 days Overall leaderboard