3

I am trying to add a custom workflow to the WorkflowTemplates library of my web. So how does one go about creating a new SPWorkflowTemplate object and adding it to the WorkflowTemplates collection of the SPWeb object? I can only find information on associating these with lists/webs/content types

2
  • What is the goal of creating a new SPWorkflowTemplate? What is that you are trying to do?
    – MdMazzotti
    Mar 17, 2014 at 9:44
  • i'm simply trying to get familiar with the object model. my original reason was to manually add a k2 workflow that didn't want to be added the normal way (there was no option to set the workflow history and workflow tasks lists)
    – Nacht
    Mar 18, 2014 at 0:17

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.