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 / 'Condition' at line '1...
Power Automate
Unanswered

'Condition' at line '1' and column '15188'

(0) ShareShare
ReportReport
Posted on by 230

Hello,

 

I have a flow that I am trying to capture data from a column date. I have the flow already set up for another date column that works fine. I have tried to duplicate the flow and change the relevant column to capture the data and receive the following error.

 

'Condition' at line '1' and column '15188': 'The template language function 'lessOrEquals' expects two parameter of matching types.

 

I am using Condition - colum date + is less or equal to + addDays(utcNow(), 30, 'yyyy-MM-dd')

Categories:
I have the same question (0)
  • Mira Ghaly Profile Picture
    11,413 Moderator on at

    @Jonathan-101 

    I suggest that you add a compose data operation and pass the column to it and then run the flow and observe the value may be you can get an idea of what is happening.

     

  • Jonathan-101 Profile Picture
    230 on at

    Hello,

     

    I am fairly new to Power Automate - how do I do this?

     

  • Jonathan-101 Profile Picture
    230 on at

    I receive the following:

     

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

  • Mira Ghaly Profile Picture
    11,413 Moderator on at

    @Jonathan-101 

    Click on Add Action and Type Compose and then pass the column value to the Compose, Rerun your flow and open the flow run from History.

     

    Please as well paste a screen shot of your flow

     

  • Jonathan-101 Profile Picture
    230 on at

    Please see attached

     

    2021-03-01 (3).png2021-03-01 (5).png

  • Paulie78 Profile Picture
    8,422 Moderator on at

    It is telling you that you are trying to compare "null" to a string. I guess the null is on the left side of your condition "Appraisa..." and the right side is your date. You have a record that has nothing in the "Appraisa..." column and that is causing the condition to crash. You need to either:

    1. Use a condition to check if the record is null and skip the checking completely.
    2. Use an expression on the left side of the condition to output a date string if the column value is null so that the condition will still operate.

    Does that make sense?

  • Mira Ghaly Profile Picture
    11,413 Moderator on at

    @Jonathan-101

    IInside ur Apply_to_each and before ur condition please add the compose data operation, most probable this column will be empty 

  • Jonathan-101 Profile Picture
    230 on at

    Hello,

     

    thank you - yes I understand but how do I add the condition in your point 2 above? there are items in the column that are blank

  • Jonathan-101 Profile Picture
    230 on at

    2021-03-01 (6).png

  • Jonathan-101 Profile Picture
    230 on at

    I have tried to add a ne null within the get properties - but a fault occurs

     

    2021-03-01 (8)_LI.jpg

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