This post is a contribution from Nishand Vasudevan, an escalation engineer with the SharePoint Developer Support team.
Disabling the event receivers can stop the workflow events. For example, disabling the event can stop workflow from starting and could stops firing events like OnTaskChanged.
The below code will not trigger OnTaskChanged event that otherwise would. The code snippet is to depict what you shouldn’t be doing in your code and it’s an illustrative example.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.