cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
johnjohn123
Post Prodigy
Post Prodigy

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
yashag2255
Dual Super User II
Dual Super User II

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
yashag2255
Dual Super User II
Dual Super User II

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
MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

Top Solution Authors
Users online (72,260)