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

Actions in this flow may result in an infinite trigger loop -giving me 2 emails for every item added in sharepoint

Hello Power Automate team, 

 

Can you help me how to resolve this issue of getting 2 emails  duplicate emails)  whenever there is an item created in my sharepoint list?

I checked some other posts but i cannot find the issue in my flow.

 

I get this error:

infinite loop1.JPG

 

So I tried to populate the fields:

 

infinite loop2.JPG

 

 

but it still doesn't work.

 

Thank You,

Kharina

1 ACCEPTED SOLUTION

Accepted Solutions
yashag2255
Dual Super User II
Dual Super User II

Hi @kharina 

 

Can you share more details on the use case? The trigger you have chose is When an item is created or modified and this flow will kick off everytime an item is created or modified and in the flow as you are updating the item, it gets modified and hence gets into the infinite loop. 

 

If you want to trigger the flow only when the item is created, use the when an item is created trigger instead. 

 

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

 

View solution in original post

3 REPLIES 3
yashag2255
Dual Super User II
Dual Super User II

Hi @kharina 

 

Can you share more details on the use case? The trigger you have chose is When an item is created or modified and this flow will kick off everytime an item is created or modified and in the flow as you are updating the item, it gets modified and hence gets into the infinite loop. 

 

If you want to trigger the flow only when the item is created, use the when an item is created trigger instead. 

 

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

 

View solution in original post

@yashag2255 ,

 

Thank you for your advice. I will try this and will inform you the result.

 

Kind Regards,

Kharina

Hi @yashag2255 

 

The option that you gave me actually is not giving me 2 emails anymore. However, my flow would stop at a certain point.  It affected the flow after email approval.  It is giving me an error to copy the items from my sharepoint list 1 to my 2nd sharepoint list.

But Thank you because it worked - for the email part  - (which is really annoying when receiving duplicate emails from just 1 new added item). 

So for my other issue, I think I have to make 2 flows- I will try it for now. 

I accepted the solution as it is the right answer to my question. I really appreciate your time. 

 

Thank you,

Kharina

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

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,286)