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
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

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

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Kudoed Authors
Users online (3,739)