We would get this exception if we try updating an Activated Workflow using Update Request.
So basically, if we need to update the activatedpublished workflow i.e. Activate or Deactivate it or change the Owner of the workflow, we would need to use the SetState and Assign Request. If we try doing it using the UpdateRequest we will the above error message.
Perform specialized operations using Update
Also, we noticed that if we try changing the state from Deactivated to Activated through…