cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
johnjohn123
Super User
Super User

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

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

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!

Helpful resources

Announcements
 WHAT’S NEXT AT MICROSOFT IGNITE 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Register for a Free Workshop.png

Register for a Free Workshop

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

Users online (2,294)