cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Mickala
Level: Powered On

Send email when item changes is sending when new item is added

I have created a flow that is only supposed to send an email when an a list item is modified, however it is being triggered when a new item is added.  I tried adding a condition to only send if the modified date is greater than the created date, is isn't working because the modified date is being marked as a few seconds after the created date.

 

Is there a way for me to write the condition to be modified date is greater than created date plus 5 minutes? Or do you have any other brilliant solutions on how to fix this issue?

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Send email when item changes is sending when new item is added

Hi @Mickala ,

 

Yes, you could add a condition to check if the modified time is greater than created date plus 5 minutes, and you could refer to screenshot below to create the flow:

1.png

The expression in the Condition as below:

addMinutes(triggerBody()?['Created'],5)

 

Please let me know if your problem could be solved.

 

Best regards,

Alice       

 

Community Support Team _ Alice Zhang
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
Community Support Team
Community Support Team

Re: Send email when item changes is sending when new item is added

Hi @Mickala ,

 

Yes, you could add a condition to check if the modified time is greater than created date plus 5 minutes, and you could refer to screenshot below to create the flow:

1.png

The expression in the Condition as below:

addMinutes(triggerBody()?['Created'],5)

 

Please let me know if your problem could be solved.

 

Best regards,

Alice       

 

Community Support Team _ Alice Zhang
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

Highlighted
Mickala
Level: Powered On

Re: Send email when item changes is sending when new item is added

This is exactly what I needed!  Is there a resource somewhere that lists how to write the different expressions?

Helpful resources

Announcements
firstImage

New Ranks and Rank Icons in April

Read the announcement for more information!

firstImage

Better Together Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Kudoed Authors
Users online (5,239)