cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Ewoud
Helper III
Helper III

Modified item flow is being triggered when a new item is added

Hi there,

 

I have created 2 flows for a Sharepoint list.

  1. Send an email when a new item is created
  2. Send an email when an existing item is modified

When a new item is created both flows are being executed. How can I make the second flow to execute only after the item is created and then being modified by a user.

 

I have created the flow when an existing item is modified by selecting the corresponding template. I only changed the Send Email box with a different emailaddress and the subject and body tekst. So it is a pretty straight forward flow.

modified.jpg

Thanks and regards.

1 ACCEPTED SOLUTION

Accepted Solutions
v-bacao-msft
Community Support
Community Support

Hi @Ewoud ,

 

In fact, when an item is modified is When an item is created or modified.

It's just that the template may rename the name of the trigger to what you see now.

1.PNG

So it actually contains the logic that will be triggered when a new item is created.

Sorry for the confusion caused by you, MS Flow does not currently support monitoring only if items are modified.

If you don't want to execute the following action when the newly created item is created, you could consider adding a Condition to determine if the item is new.

If it is not new, execute the following action:

2.PNG

Please take a try.

 

Best Regards,

Community Support Team _ Barry
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-bacao-msft
Community Support
Community Support

Hi @Ewoud ,

 

In fact, when an item is modified is When an item is created or modified.

It's just that the template may rename the name of the trigger to what you see now.

1.PNG

So it actually contains the logic that will be triggered when a new item is created.

Sorry for the confusion caused by you, MS Flow does not currently support monitoring only if items are modified.

If you don't want to execute the following action when the newly created item is created, you could consider adding a Condition to determine if the item is new.

If it is not new, execute the following action:

2.PNG

Please take a try.

 

Best Regards,

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

Ewoud
Helper III
Helper III

Hi @v-bacao-msft ,

 

Thanks for explaining. It's pretty confusing that one can select a template called 'Send an email when an SP item is modified' but it's actually not only for modified items. MS should rename it in my opnion.

 

Your solution works very good. I do not get 2 emails anymore. So that's perfect.

 

Thank you very much for your help.

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (2,900)