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 / Flow Error Unable to p...
Power Automate
Unanswered

Flow Error Unable to process template language expressions in action Convert_Item_Age_to_Integer'

(0) ShareShare
ReportReport
Posted on by 5,836 Moderator

I have a flow that has been working for quite awhile that has recently failing with this error.

 

Unable to process template language expressions in action 'Convert_Item_Age_to_Integer' inputs at line '0' and column '0': 'The template language function 'int' was invoked with a parameter that is not valid. The value cannot be converted to the target type.'.

 

The flow is getting the items from a SharePoint list.  One of the columns is a calculated column with this formula:  LastComplete is a Single Line of Text formula.  Understand that this was working correctly for a long time and nothing has been changed in the app, the list or the flow.

=IF(ISBLANK([Last Complete]),"",DATEDIF([Last Complete],TODAY(),"d"))

 

Here is the set of flow actions:  The error is happening on the convert item age to integer action.

TEchMetricsFlow.png

  

I am at a loss as to why this just stopped working out of the blue.

Categories:

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 425

#2
11manish Profile Picture

11manish 323 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 274

Last 30 days Overall leaderboard