I have developed an Incident Reporting site for a client that has multiple workflows attached to a list. There are 11 total workflows here that email out various stages of an Incident. There are also associated user workflows that setup a column with all users associated with the Incident.
I developed this separately, and with a column that flags when the notification is sent. When each notification is sent, I updated the list item to the notification won’t be sent again.
If IncidentAwaitingApprovalNotification = “Yes” Email user then Update List Item Current Item: IncidentAwaitingApprovalNotifcation = “No”
The problem with this approach after awhile I noticed is, on this update, it turns around and fires all 10 other workflows AGAIN.
This creates loops, it creates multiple workflows firing at the same time and a lot of issues.
I’ve read online about using set instead of Update List Item, that set doesn’t fire the event listener again to fire another workflow. Is this true?
Currently these workflows are taking over 15 minutes to complete on items.. Sometimes longer.
What would be the best approach to fix this?