cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Serviced2000
Helper III
Helper III

Flow Running Multiple Times

Hi Everyone,

 

I'm reposting this with a slightly different view to see if this gets a bit of traction. I have a Power Automate flow that is set to trigger when a row is 'Added, Modified or Deleted' with 'Update' set as the Change Type. When a record changes the flow is running multiple times (sometimes up to 25 times) as the record is modified. 

 

I have tried adding status codes as a filter and have managed to get this down to 2 - 3 for each time the flow triggers, but I can see a scenario where this could be bypassed.

 

What I need is a single change that I can use as a trigger for a single flow run. I have tried to replicate the 

Serviced2000_0-1622597742280.png

 

Workflow trigger, but even this doesn't seem to do the job properly. I want to try and avoid a timed run and have something happen in real time, but I have to ensure I send a single notification rather than 20+.

 

Has anyone else run into this scenario?

 

Thanks!

2 REPLIES 2
Rilsina
Resolver II
Resolver II

Hi,

 

You can add trigger condition for Power automate, to trigger only on particular status.

https://www.cloudfronts.com/trigger-power-automate-on-condition/

Also check if you have any other flows/ workflows/ plugins that run and create loop for your power automate.

 

If this helps, please mark this answer as solution.

Serviced2000
Helper III
Helper III

Hi Rilsina,

 

So we have a field - 'statuscode' and I added a trigger condition @equals(triggerBody()?['statuscode'], 939310003) which all makes sense. The problem is that my flow is being triggered multiple times and each time the statuscode is 939310003 as it's not the change of status that is triggering the flow run. This means that the trigger condition is met multiple times and I get multiple notifications. I haven't yet been able to find a way to get the trigger to fire once only when the status changes and not any other time when other fields change.

Helpful resources

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

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

PA Survey Carousel Image.png

We want to hear from you!

If you are a small business ISV/Reseller, share your thoughts with our research team.

Users online (2,589)