cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Portland
Resolver I
Resolver I

Run History - Am I reading it incorrectly or is my flow endlessly running?

When I look at my flow, it seems to be running and running. The trigger is set to run when an item is created or modified in my SharePoint list. The list was last touched yesterday. 

Endless.png

1.png

2.png

3.png

4.png

 
3 REPLIES 3
v-alzhan-msft
Community Support
Community Support

Hi @Portland ,

 

It is an expected behavior since the trigger is when an item is created or updated and you add a Update item action in the flow, it would cause a loop.

You could take a try with solution below:

https://powerusers.microsoft.com/t5/General-Power-Automate/Flow-running-thousands-of-times-on-SP-quo...

 

Best Regards,

Alice

 

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thank you, after reading, I see this is a long standing issue and it appears three changes are required to my flow.

 

1. Add a Compose Data Operation. What would I type in here?

2. Add a hidden column (hdnCalc)  to SharePoint to store a value 

3. In the Update action, I need to add the Output of the Compose to the hdnCalc field

 

I think this might be better.. but don't think it's a fix. Also, just tested for the first time only entering one name into my list and it failed to add the one name to the list. Changes are:

 

SharePoint =

Created new hidden column "hdnCalc" (Single line)

 

After

When an Item is Created or Modified

 

Inserted Compose =

string(triggerBody()?['Modified'])
 
My 4 Initial Variables stayed in place
 
Inserted Condition =
hdnCalc | is equal to | Outputs
 
IF YES =
Nothing, didn't touch it...
IF NO = 
The rest of my existing flow 
 
Update Item =
hdnCalc field | OutPuts |
 
 

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 (1,696)