cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
New Member

Send annual reminder to review list item

Hi all, I'm new to flow and I'm trying to set-up one that will email a named owner of a list item to review the item based on the date they entered as last signed off "date completed/last updated" column.

 

So far I have the following - where the condition is:

formatDateTime(addDays(utcnow(),-365),'dd-MM-yyyy')

 

RobJ2_0-1592928783709.png

The email goes but I get the error "Unable to process template language expressions for action 'Condition' at line '1' and column '2842': '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"

 

Help please?

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support
Community Support

 

Hi @RobJ2 ,

 

Please try to refer to the following configuration:

108.PNG

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
Super User
Super User

Hi @RobJ2 

 

The error that you getting is because of date column may be empty, so you should check if is is empty before comparing it .

Also i would prefer following format:

formatDateTime(addDays(utcnow(),-365),'yyyy-MM-dd')

 

Regards,

DS

Community Support
Community Support

 

Hi @RobJ2 ,

 

Please try to refer to the following configuration:

108.PNG

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Thanks Barry - the flow now runs successfully and sends the email for those requiring review 🙂

 

However, if I drill in to the flow checker there is still an error (?)

RobJ2_0-1592988445991.png

 

 

Hi @RobJ2 ,

 

This is the expected result, indicating that the current item does not meet the conditions set in this condition, so the result is false. Then the action in the If yes branch will not be executed.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Microsoft Ignite

Microsoft Power Platform: 2021 Release Wave 1 Plan

Power Platform release plan for the 2021 release wave 1 describes all new features releasing from April through September 2021.

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (35,408)