How to disable event firing when flow updates a SharePoint list item?
There’s a lengthy discussion over at https://powerusers.microsoft.com/t5/Flow-Ideas/Disable-Event-Firing-when-Flow-updates-a-SharePoint-list-item/idc-p/271110 to have a Flow trigger on a SharePoint item being modified, and then be able to update that same item in the workflow without causing it to re-trigger, causing a possible infinite loop.
Why do I get Update event when I update SharePoint list?
The underlying issue causing this behavior is that any update to a SharePoint item will trigger an update event for the list. EXCEPT if you use a method called SystemUpdate, which is only available via the JSOM/CSOM/Native SharePoint API’s, and not the REST API.
Can You update an item in flow without triggering an event?
It just makes sense to have an option that will allow Flow to update an item without triggering an event that will cause the same Flow or another Flow to run against the item again. After thoroughly reviewing this idea, we have decided not to proceed with this idea for a couple of reasons.
Is it possible to update SharePoint flow connectors?
This quickly becomes very technical, but until the SharePoint Flow connectors support the ability to update using a System Update, this is what we have to deal with. It is certainly possible to overcome this issue, but it involves a bit of XML which might throw you off.
Can You update an item without firing an update event?
If you manage to get everything set up correctly, your item should update just fine, without adding a new version and without firing an update event.
When to set eventfiringdisabled to true in reflection?
It’s important to set EventFiringDisabled to true if you don’t want event receivers or workflows to be executed. To do this I used reflection to set the internal static property of the SPEventManager class.