cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
JMAFO
Helper V
Helper V

Send email 2 days after if column is empty

Hi everyone,

I need to be able to send an email to certain individuals if the list item is two days old and a specific field is empty. How would I do this?

1 ACCEPTED SOLUTION

Accepted Solutions
v-zhos-msft
Solution Sage
Solution Sage

Hi @JMAFO ,

You want select the items which are created more than 2 days and a specific field is empty.

I have made a flow for your scenario, please check it for a reference.

The expression of Compose is :

addDays(formatDateTime(utcNow(),'yyyy-MM-ddTHH:mm:ssZ'),-2), to get the Date of 2 days ago.
The expression in Filter array is :
and(lessOrEquals(item()?['Created'],outputs('Compose')),empty(item()?['Test']))  is equal to true.
The item()?['Test'] is the specific field in my list.

Capture1.PNG

Best Regards,

Community Support Team _ Zhongys

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

2 REPLIES 2
v-zhos-msft
Solution Sage
Solution Sage

Hi @JMAFO ,

You want select the items which are created more than 2 days and a specific field is empty.

I have made a flow for your scenario, please check it for a reference.

The expression of Compose is :

addDays(formatDateTime(utcNow(),'yyyy-MM-ddTHH:mm:ssZ'),-2), to get the Date of 2 days ago.
The expression in Filter array is :
and(lessOrEquals(item()?['Created'],outputs('Compose')),empty(item()?['Test']))  is equal to true.
The item()?['Test'] is the specific field in my list.

Capture1.PNG

Best Regards,

Community Support Team _ Zhongys

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

@v-zhos-msft Thank you for your help, but I have a slightly different request after formatting this flow..
How could I reformat this to send individuals emails for each list item depending on a value? For instance, I would like to find all items that are two days old, then, depending on a column value, for each item, send an email to specific individuals?

Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Users online (62,267)