cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
heyvOOn
Helper I
Helper I

Trigger Condition for When a file is created or modified in a folder (Sharepoint )

Hi Everyone,

 

I've made the following Flow which post in Teams every time a News is posted or modified in a specific Sharepoint site. All working fine. But if I edit a News post per say 5 times in a row. The flow will pickup all these changes and post into teams also 5 times in a row. 
QUESTION: Is there a way I could avoid this using Trigger Conditions? 

I've tried a couple of things without success. Basically if I could make a condition to only post an update if it has past 1 hours from the last one would help already.

 

heyvOOn_1-1616279871890.png

 

Appreciate all the help. Thank you all in advance. 

 

5 REPLIES 5
mahoneypat
Dual Super User
Dual Super User

You could try putting the concurrency to 1 in the settings on the trigger, and then adding a delay in the beginning of your flow for an appropriate amount of minutes that the 5 triggers are occurring.  That way, only one flow can run at a time during that delay period.


Regards,

Pat

 





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about the Power Platform, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


I don't understand what u mean by "putting the concurrency to 1 in the settings on the trigger" 

mahoneypat
Dual Super User
Dual Super User

Hit the ellipsis in upper right of the trigger and choose settings, and then change it to look like below.  Then as your first action, add a delay action with an appropriate # of minutes, and then the rest of your flow.

 

Pat

 

mahoneypat_0-1616378931826.png

 





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about the Power Platform, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


heyvOOn
Helper I
Helper I

Got it. Thank you. But I don't see how this is going to help my situation.

 

I would need the last run -> last modified to be able to achieve what I need and it seems there is no way to get info from a last run.

heyvOOn
Helper I
Helper I

I was able to find a solution by adding the following condition;

heyvOOn_0-1616413513935.png

 

The only problem is that the trigger goes off anyways. There is no way I could use the same condition as a function in the Trigger Condition. 😒

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

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

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Users online (3,087)