Forum Discussion

DogAndPonyShow's avatar
DogAndPonyShow
Copper Contributor
Feb 09, 2021
Solved

Reminder emails - Flow fails when date value is empty

Hi there, I hope you can help.  I have a flow which sends emails 4 days before a target date as reminders.  The datasource is a SharePoint Online list.   The emails are sending correctly for lis...
  • RobElliott's avatar
    Feb 09, 2021

    DogAndPonyShow in your Get items action add a filter query of TargetCompletionDate ne '{null}' where {null} is an expression from the Expression tab in the dynamic content box. ne stands for not equal to.  Make sure you include the single quotes around the expression. With this filter it will only bring back items from the list where the TargetCompletionDate actually has something in it so should avoid the error.

     

    Rob
    Los Gallardos
    Microsoft Power Automate Community Super User

Resources