cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Aurélien
Helper I
Helper I

Flow runs continuously

Hello,

 

I created a flow that allows me to retrieve the link of a piece and note it in the corresponding column.

The flow is triggered when a data is created or modified.

Then update this data.

 

Conclusion the flow is executed continuously. How to make it only executes once?

Modifier votre flux  Microsoft Flow - Google Chrome.jpg

 

 

TY

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-lin-msft
Post Prodigy
Post Prodigy

Hi @Aurélien,

 

Hi @nilesp,

 

You can determine whether to create and update time by adding a condition is the same,

-If the same, is a new item, then continue the next steps.

-If not the same, it is the previously created files.

So that you can avoid subsequent updates in the new item of the item to trigger the flow again.Annotation 2019-06-18 143102.png

 

I hope it can help you. If you still have questions, please contact us.

 

Best Regards,

Community Support Team _ Lin Tu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
Expiscornovus
Super User
Super User

Hi @Aurélien,

 

Maybe you can use the approach of this thread, only trigger it when a specific field is updated:

https://powerusers.microsoft.com/t5/Building-Flows/Trigger-a-flow-when-a-SharePoint-list-item-field-...

Brad_Groux
Community Champion
Community Champion

Your update item sets off the When an item is created or modified trigger again, which is what creates your loop. You have a few options for how you can work around this.

What works best for you, really depends on your Flow, data, and environment. 

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!

v-lin-msft
Post Prodigy
Post Prodigy

Hi @Aurélien,

 

Hi @nilesp,

 

You can determine whether to create and update time by adding a condition is the same,

-If the same, is a new item, then continue the next steps.

-If not the same, it is the previously created files.

So that you can avoid subsequent updates in the new item of the item to trigger the flow again.Annotation 2019-06-18 143102.png

 

I hope it can help you. If you still have questions, please contact us.

 

Best Regards,

Community Support Team _ Lin Tu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

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.

Users online (1,213)