cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Advocate I
Advocate I

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
Community Support

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
Community Support

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

Highlighted
Advocate I
Advocate I

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
Highlighted
Community Support
Community Support

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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Upcoming Events

Experience what’s next for Power Automate

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Top Solution Authors
Top Kudoed Authors
Users online (7,451)