cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mattfontane
Frequent Visitor

Flow: Null error when checking SharePoint list date column

Can someone offer help on this error for my flow?

 

This flow checks a Sharepoint list for a due date and if it is "overdue" sends an email to the assigned user alerting them to return the checked out item. The flow completes and the e-mail is sent, but also shows that it has failed. The text of the error is:

 

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

Not all of the Due Date fields have a date since many of the assets are not checked out; I believe that's what's causing the error. I've researched how to tell the condition to ignore a null cell in the Sharepoint list, but that effort has left me more confused than anything. It could be a typo or that I just have no idea what I'm doing since I'm still pretty new to all this. Can someone point me in the right direction?

 

FlowErrorDetails.pngOverdueFlow1.pngOverdueFlow2.png

1 ACCEPTED SOLUTION

Accepted Solutions
PrasadAthalye
Community Champion
Community Champion

Add a new condition right above the existing condition and check if Due date is not null.. something like below...

 

PrasadAthalye_0-1610131672014.png

 

Please Like and Mark this as Answer if it resolves your Issue.

Power Automate Community

View solution in original post

3 REPLIES 3
PrasadAthalye
Community Champion
Community Champion

Add a new condition right above the existing condition and check if Due date is not null.. something like below...

 

PrasadAthalye_0-1610131672014.png

 

Please Like and Mark this as Answer if it resolves your Issue.

Power Automate Community

I would have bet A LOT that I had already done what you suggested and it did not work. This time it did! So, I'm going to say user error here. Thank you, this is most helpful!

I am glad it worked !! cheers

Please Like and Mark this as Answer if it resolves your Issue.

Power Automate Community

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (3,015)