cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
cs3196984
Regular Visitor

Send Email based on Modification date and Result code

Hi All,

 

I am unable to send emails that are 7 days after the modification date. I have put in the criteria that the result needs to be "First Email Sent" and the Modified Date has to be 7 days or older. I have the prompt to send the email and then update the item, but no dice.

 

SharePoint Help1.JPG

 

formatDateTime(item()['Modified'],'yyyy-MM-dd')  is less than  addDays(utcNow(),-7,'yyyy-MM-dd')

 

SharePoint Help2.JPG

 

 

Any help would be appreciated.

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
gazzo1967
Impactful Individual
Impactful Individual

@cs3196984 

i think i can help with this but need to understand a little more!
Do you have a calculated column in your Sharepoint list for renewal date? 
How are you inserting your information into your Sharepoint list to differentiate between the different courses for renewal periods?

It looks like there maybe a simple solution of either using variables or just a calculated column

Gary

 

 

View solution in original post

3 REPLIES 3
gazzo1967
Impactful Individual
Impactful Individual

@cs3196984 

i think i can help with this but need to understand a little more!
Do you have a calculated column in your Sharepoint list for renewal date? 
How are you inserting your information into your Sharepoint list to differentiate between the different courses for renewal periods?

It looks like there maybe a simple solution of either using variables or just a calculated column

Gary

 

 

View solution in original post

Hi Gary,

 

Thank you for your response! I am just trying to filter out anything that was modified more than 7 days. I do not have a calculated column that I have created. The only field I am using is the Modified column which is a default column that is created with every new item in my sharepoint. 

Compose Solution.JPG

Helpful resources

Announcements
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

MSFTBizAppsLaunchEvent

Experience what’s next for Power Virtual Agents

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Users online (44,673)