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

Prevent the MS Flow which get fired when updating the list item and which update an item field inside its action to run twice

I have the following MS flow which get fired when create/modify list items:-

f1.png

f2.png

 

and as shown above the MS Flow itself will update the list item status.. so currently when i create/modify a new list item >> the MS flow will update the list item and cause another MS flow to run, and so on.. so how i can prevent this from happening?for example currently i only need to run the MS Flow if the status of the list item = "Active".. can i add this a per-requisite to run the MS Flow?

1 ACCEPTED SOLUTION

Accepted Solutions
Dual Super User III
Dual Super User III

Hi @johnjohn123 

 

Yes, you can create a column with choice as Active/ Inactive and while updating the record set to Inactive from the flow. You can use trigger conditions in flow trigger to start the flow only if the Status is Active. More on trigger conditions here: 

https://www.c-sharpcorner.com/article/flow-trigger-conditions-for-sharepoint-run-flow-when-needed/

 

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

1 REPLY 1
Dual Super User III
Dual Super User III

Hi @johnjohn123 

 

Yes, you can create a column with choice as Active/ Inactive and while updating the record set to Inactive from the flow. You can use trigger conditions in flow trigger to start the flow only if the Status is Active. More on trigger conditions here: 

https://www.c-sharpcorner.com/article/flow-trigger-conditions-for-sharepoint-run-flow-when-needed/

 

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

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.

Top Solution Authors
Top Kudoed Authors
Users online (12,927)