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)
  • ManishSolanki Profile Picture
    15,091 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

     

  • ManishSolanki Profile Picture
    15,091 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

  • ManishSolanki Profile Picture
    15,091 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…

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

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard