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!

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

SamConroy1
New Member

I had this issue but found that setting the filter row and specifying the column stopped it triggering multiple times.

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Users online (2,803)