“Cannot update a published workflow definition” exception in Dynamics 365 – Nishant Rana’s Weblog

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…

Continue Reading Nishant Rana’s Article on their blog

“Cannot update a published workflow definition” exception in Dynamics 365 – Nishant Rana’s Weblog

Blog Syndicated with Nishant Rana’s Permission

Author: Nishant Rana

Share This Post On