cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mmattar
Responsive Resident
Responsive Resident

Update SharePoint Item

Hello all,

 

I have a situation in where I check if a SharePoint list has been modified. Their are 5 columns that i am looking for if they have been updated, I built the flow to do 1 update at the end based on what has been changed. But when i run the flow it always runs more than once even though i only updated one column in the SP list. Anyone know how to deal with this behavior ? 

 

Thanks

8 REPLIES 8
ChristianAbata
Community Champion
Community Champion

hi @mmattar  what trigger are you using? 

 

See recently microsoft add a new trigger that allow just to trigger a flow when a item is modified only.. before this trigger exist another that runs when an item is modified or created..

 

see https://www.youtube.com/watch?v=o6AKXBL1Tp0&t=113s



Did I answer your question? Please consider to Mark
my post as a solution! to guide others :winking_face:

Proud to be a Flownaut!


If you want you can follow me at www.christianabata.com Quieres contenido en español? Síguenos en Power Automate LA

I am using created or modified, hmm let me see if changing it too just modified helps 

thats the reason my friend @mmattar  please use just this trigger

 

new.PNG



Did I answer your question? Please consider to Mark
my post as a solution! to guide others :winking_face:

Proud to be a Flownaut!


If you want you can follow me at www.christianabata.com Quieres contenido en español? Síguenos en Power Automate LA

Hey so i rebuilt it with the item or file modified trigger and it has the same behavior. For some reason the flow keeps running and updates other columns that were prev. updated all at the same time. I'm just trying to get it to update one at a time

Hi @mmattar 

 

If you modifying the same record that has been updating, you may experience a loop as the record is updating itself.

 

Can you please share more info. about your flow with more details and maybe screen shots .

 

Best Regards 

Mark 

Hey, so I will update a record and it will go through fine. But when i update a different record, the flow runs and updates the prev. one and the current one. And for some reason when i run it, it runs 3 times instead of once

My flow is basically adding timestamps to certain columns based on changes done to the SP list, for example: Project Complete column gets updated to "Yes", the flow will kick off and add a timestamp to a column like so FormatDateTime(utcnow(),'yyyy-MM-dd'). The flow is watching for 5 of these columns to be updated to "Yes" to timestamp for. 

 

I check if the particular column is "yes", then i check to see if the column is empty or not, if so then i will timestamp and if its not then i will ignore and move on. to save on too many updates, i have a check at the end to see if any variable was filled with a timestamp, if not then i don't do the update.

 

mm1.PNGmm2.PNGmm.PNG

Hi @mmattar 

 

Your requirements makes logical but I see many conditions and cases, what was the results when you see the flow runs .. can you check the values and track these updates. 

 

Lets try to do one record for testing, do an update and see the runs for the flow and the values in each run so that we can track the chain and variables that were updated. this should give us more details about what is causing the updates and which conditions are being evaluated correctly.

 

Best Regards

Mark

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.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

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.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Top Solution Authors
Top Kudoed Authors
Users online (2,133)