cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Eurosiderscalo
Frequent Visitor

Condition and multiple emails issue

Hello,
I have a problem with a simple flow and I can't find a solution.
It's a simple flow that write date/hour every time an element is created/modified based on a switch keyword "PESATO".
It work perfect on sharepoint and it write date and hour without any problem.
But... if I add a "send email" to our Teams email group, the flow continue to send multiple emails every 30/40 sec. and also continue to upldate date/hour on sharepoint table.

Is there a way to fix it?

 

https://ibb.co/py7CZWk
https://ibb.co/J5gQjdG
https://ibb.co/Ln2y9D5

Regards

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @Eurosiderscalo ,

 

You don't need to add API, the solution is the easiest one, just follow the steps and your problem could be solved quickly.

 

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

7 REPLIES 7
manuelstgomes
Super User
Super User

Hi @Eurosiderscalo 

 

Are you updating the same SharePoint list of the trigger? If so, the trigger triggers again because there was a change in the list (adding the date and time) and therefore sending emails warning people of that change.

 

Can you please check if this is the case?

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Cheers
Manuel

Yes it's the same list.

No, it doesn't work, the flow continue to send email every very 30/40 sec... is there a way to fix it?

Hi @Eurosiderscalo ,

 

It is the expected behavior since you have the Update item action for the same list with the trigger.

Hope the link below could help you troubleshooting this issue:

https://powerusers.microsoft.com/t5/Building-Flows/Stop-a-flow-re-triggering-itself-on-sharepoint-it...

 

 

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.

Hi @v-alzhan-msft 

This is a really complex solution and I don't have the knowledge to add API.

Is there a simplest way? Maybe something like: if status X do it one time?

Hi @Eurosiderscalo 

 

If it's the same list, it will trigger every time. You trigger an update than in the same Power Automate update the same list (it's an update), so the Power Automate triggers again. It's expected behavior that you should avoid for the reasons you're watching now.

 

@v-alzhan-msft solution will help.

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Cheers
Manuel

Hi @Eurosiderscalo ,

 

You don't need to add API, the solution is the easiest one, just follow the steps and your problem could be solved quickly.

 

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

Helpful resources

Announcements
Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

Top Solution Authors
Top Kudoed Authors
Users online (1,522)