cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Anonymous
Not applicable

[Help Needed] Preventing a flow from running again and again once a condition has been satisfied

Hi all,

 

Situation: I've created a flow where when an item is created or modified on a SharePoint list, it'll run a condition checking whether two fields within the SharePoint list are a certain value and if "true", will copy a few files into a specified folder and also create a task in MS Planner.

 

Problem: This works great when the condition is initially satisfied -- but if someone goes into the SharePoint list to make an update, it will trigger the flow again and I end up having duplicate files and duplicate tasks in Planner. 

 

Question: Is there anything I can do to stop it when condition is initially satisfied -- I was researching and saw some folks trying to accomplish this through some complex versioning functions/flows -- but is that the only way to do it?

 

Snapshot2.PNG

 

 

 

1 REPLY 1
Highlighted
Super User II
Super User II

Re: [Help Needed] Preventing a flow from running again and again once a condition has been satisfied

You could add a second, time-based condition utilizing a time-based expression to your Flow. So if the modified date/time are later than the created date/time, then your first field-based condition does not run again. 

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. THANKS!

Helpful resources

Announcements
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.

Community Conference

Power Platform Community Conference

Find your favorite faces from the community presenting at the Power Platform Community Conference!

FirstImage

Microsoft Ignite 2020

Check out the announcement of Power Platform content at Microsoft Ignite!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (11,505)