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 / 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:
I have the same question (0)
  • Verified answer
    SamLed Profile Picture
    2,338 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

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

#2
David_MA Profile Picture

David_MA 323 Super User 2025 Season 2

#3
Expiscornovus Profile Picture

Expiscornovus 183 Most Valuable Professional

Last 30 days Overall leaderboard