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 ?
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..
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
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 .
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.
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.
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Join us on June 28 for our monthly User Group leader call!
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!