web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Power Automate flow al...
Power Apps
Unanswered

Power Automate flow always in Running state

(0) ShareShare
ReportReport
Posted on by 613

Hi,

The flow is always in the running state in the background, how can I fix this?

Teresa24486_0-1629458166257.png

 

My flow has only 3 steps: when a row is added/modified; list rows based on expired records, and expired records should update the status to inactive.

Teresa24486_1-1629458410160.png

 

 

I have the same question (0)
  • KBilakanti1 Profile Picture
    Microsoft Employee on at

    @Teresa24486 

     

    I can see from the above screenshot that your flow trigger is when a row is added or modified or deleted, and in the actions you are updating the row which is causing circular dependency of the flow. Hence it's showing as running.

  • Teresa24486 Profile Picture
    613 on at

    HI @KBilakanti1 ,

    How can I rectify this? Or is it okay for the flow to keep running at the background?

  • KBilakanti1 Profile Picture
    Microsoft Employee on at

    1.You can add trigger conditions so that your flow will trigger when a field value gets updated rather than all update operations.

    2. When should you trigger your flow? On Create or On Update or On Delete? 

  • Ram Prakash Duraisamy Profile Picture
    5,593 Super User 2025 Season 2 on at

    I can see the trigger process is Create/Updated/Deleted, thats why its keep looping the field,

     

    Please use Plugin, so that we can handle the same.

  • Teresa24486 Profile Picture
    613 on at

    Hi @KBilakanti1,

    I have an update condition when modifying only one field. So the flow should run only when create/update.

  • Drew Poggemann Profile Picture
    9,287 Most Valuable Professional on at

    Hi @Teresa24486 ,

     

    In you trigger step, add the field, or fields that you want to trigger for the update and of course your flow can. not update those fields or that will cause the looping...

     

    Example below I trigger on only the name field changing.  The flow will not even execute if I update any other fields and not the name field on the account.  My update step then updates the Address so it will not fire again (since I am not updating the name).

    Screen Shot 2021-08-21 at 6.57.02 AM.png

     

    Hope this helps.  Please accept if answers your question or Like if helps in any way.


    Thanks,

     

    Drew

  • KBilakanti1 Profile Picture
    Microsoft Employee on at

    @Teresa24486 

     

    You can follow the process mentioned by @dpoggemann , In your power automate trigger step in "Select Columns" property add the column internal name which you want to invoke the power automate for, so that the power automate will trigger only when the specified column gets changed rather than triggering on every record create/update.

     

    Please accept if it answers your question, so that others can easily find it.

     

    Thanks

    Karthik

     

  • Teresa24486 Profile Picture
    613 on at

    Hi @dpoggemann@KBilakanti1 ,

    Thanks, setting a filter condition worked and is not looping anymore!

     

    So wont List rows filter /loop through Inactive records?

    I have inactive records based on expiry date <=today. If I have to activate my record by extending the expiry date, the flow is in the running state and times out.

  • Drew Poggemann Profile Picture
    9,287 Most Valuable Professional on at

    Hi @Teresa24486 ,

     

    You can always add filter criteria in your List records to not pull inactive records.  I usually utilize FetchXML in the list records to remove ones I don't want.

     

    Thanks,

     

    Drew

  • Teresa24486 Profile Picture
    613 on at

    Hi @dpoggemann,

    Well my concern here is I have set a filter for a few records based on  expiry date <=today and it is a view(Expired Records) and all records for this view is set to inactive. I need the flow to be doing this, so the ones that arent inactive should automatically be active i.e  expiry date >=today. 

    Teresa24486_1-1629630452430.png

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard