I have a list with an
ItemUpdating event receiver that blocks all item updates.
I have a workflow where I want to update an item in this list.
Is there any way to disable the event receiver from the SP2013 workflow, perform the update, then re-enable the event receiver?
Or, if there was a way to check whether it is a user or a workflow that is making the update, I could add a condition in the event receiver and only allow updates from workflows.