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

A flow trigger itself

I have a flow triggered by a sharepoint List that must edit the list itself to change the status of the element.

 

What append is that an other istance of the flow immediatly start if a edit connector is set for the list that is also a trigger. 

 

Is it possible to avoid this?

 

Is there some control that allow me to disable the trigger on the element until the current flow isnt finished?

 

 

 

 

Emilio Rinaudo
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support Team
Community Support Team

Re: A flow trigger itself

Hi @Emilio,

 

No, there is no proper way to stop the trigger to fire.

What we could do to prevent the flow to run is to add a condition, then varify if the status field has been updated with the proper value.

If yes, do nothing, otherwise, allow this trigger to run the action after.

Add a condition to a flow

 

You may take a look at the following thread as an example:

https://powerusers.microsoft.com/t5/Using-Flows/Trigger-for-a-field-change-in-a-SharePoint-list-sedn...

 

The first condition added is used to check whether the field has been updated with value.

 

Post back if you have any further questions.

 

Regards,

Michael

 

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

3 REPLIES 3
Highlighted
Community Support Team
Community Support Team

Re: A flow trigger itself

Hi @Emilio,

 

No, there is no proper way to stop the trigger to fire.

What we could do to prevent the flow to run is to add a condition, then varify if the status field has been updated with the proper value.

If yes, do nothing, otherwise, allow this trigger to run the action after.

Add a condition to a flow

 

You may take a look at the following thread as an example:

https://powerusers.microsoft.com/t5/Using-Flows/Trigger-for-a-field-change-in-a-SharePoint-list-sedn...

 

The first condition added is used to check whether the field has been updated with value.

 

Post back if you have any further questions.

 

Regards,

Michael

 

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

Emilio
Level: Powered On

Re: A flow trigger itself

This basically mean that a flow that is supposed to run 4 to 6 time for a single element will run 8 to 12 times. I can deal with it, but it is quite complicated to set a condition every time that the flow edit is own trigger.

There shoud be a button that let chose to stop the flow from triggering himself in the settings panel.

Can I post it on flow Ideas?

Emilio Rinaudo
Community Support Team
Community Support Team

Re: A flow trigger itself

Hi @Emilio,

 

Yes, any feedbacks when using Microsoft Flow is welcomed.

https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas

 

Regards,

Michael

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
firstImage

Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!

firstImage

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

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!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Solution Authors
Top Kudoed Authors
Users online (5,280)