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

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 IV
Helper IV

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

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

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.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (3,035)