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.

Helpful resources

Announcements
MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power automate tips 768x460 v2.png

Restore a Deleted Flow

Did you know that you could restore a deleted flow? Check out this helpful article.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Users online (3,151)