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 / Unable to process tem...
Power Automate
Suggested Answer

Unable to process template language expressions at line '0' and column '0':

(2) ShareShare
ReportReport
Posted on by 17
Hello Power Platform Community,
 
 
I’ve been working on a Power Automate flow designed to help us monitor activities related to new records created in our Dynamics 365 CRM. The goal is to automatically notify team members if there has been no activity for 2 weeks after a record is created.
 
### Flow Overview:

- Trigger : The flow triggers whenever a new record is created in Dynamics 365 CRM.
- Logic : It checks the following fields: `CreatedOn`, `Last Modified On`, and `Last Activity Date`. If no activity has occurred within 14 days, the flow sends an email notification to the team.
 
### The Issue:
While setting up the conditions to compare `CreatedOn` and `Last Modified On` fields with the expression `addDays(utcNow(), -14)`,
 
I encountered an error:

Unable to process template language expressions for action 'Condition_for_2_week_reminder' at line '0' and column '0': 'The template language function 'lessOrEquals' expects two parameters of matching types. The function was invoked with values of type 'Null' and 'String' that do not match.'

I would greatly appreciate any insights or suggestions from the community. 
 
Below are the Attached Photos of my flow.
WhatsApp Image 2024-10-08 at 8.05.29 PM.jpeg
WhatsApp Image 2024-10-08 at 8.05.30 PM (1).jpeg
WhatsApp Image 2024-10-08 at 8.05.30 PM.jpeg
Categories:
I have the same question (0)
  • Suggested answer
    Michael E. Gernaey Profile Picture
    53,968 Moderator on at
    Hi
     
    So it is saying that your Dataverse values are Null as its on the left side of the error.
     
    So what you can do to verify is this
     
    Above the condition add 2 compose. In Compose 1 put your Modified Date Dataverse dynamic property
    in the second put the created
     
    My guess is the modified is NULL
     
    go back to the failed flow you are listing in your post, and re-submit it.
    Then grab the values from them
     
    NOTE: if the back end data has Changed since this failed, its possible that the flow will work the second time, if my guess is correct that Modified is blank, but has since been modified.
     

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

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 252 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 169

#3
Haque Profile Picture

Haque 154

Last 30 days Overall leaderboard