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_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

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,324)