4

I am required to remove Workflow associations on a content type and from all the child content types deriving from this, as well as the list content types, deriving from the derived.
ct - A Site Content Type
wfAssoc - A workflow association with ct

    ct.WorkflowAssociations.Remove(wfAssoc);
    ct.UpdateWorkflowAssociationsOnChildren(false, true, true,true);

But the above is removing the association only with the parent, and not affecting any children or list content types. Help please? urgent.

1

Recently I had to delete association too and here is a code I have used:

Found this post and it works well for me

Hope it helps someone,

Andrew

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.