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 / Power Automate flow fa...
Power Automate
Answered

Power Automate flow failing

(0) ShareShare
ReportReport
Posted on by 54

I have a flow that goes through a list and checks which list items have these 3 conditions in the screenshot. If a list item does have each of those conditions, it sends an email out to the person who made it to change it. 

stolliver_0-1689871983632.png

My flow is intermittently failing because of this error, but I'm not sure why.

 

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

Categories:
  • Verified answer
    SamLed Profile Picture
    2,340 Moderator on at

    Hi stolliver,

     

    The first condition "45 days s..." is the point of the error, you try to compare string data type, which should be your list field data type I guess, and 45 which is considered as number. So you'll have to convert the field data to int using the conversion expression Int().

  • stolliver Profile Picture
    54 on at

    Okay, thanks! I'll try that out.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 424

#2
11manish Profile Picture

11manish 328 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 274

Last 30 days Overall leaderboard