Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Need to move a document in document library from source site to another sharepoint 2010 site which has the same structure as the source site along with the workflow attached to the document. The work flow creates tasks too... so the tasks should be created in the tasks list in the destination site too... how to do this... I am doing a POC on this.Please share any ideas or documentation on this and Any help will be appreciated. copying workflow as a template will not work here i guess. i need to copy actual workflow association to the document.

share|improve this question
    
assuming that WF was created via SPD, is it by any way Reusable, or list attached? –  C. Marius - MVP Jan 21 '13 at 18:26
    
if it is a spd workflow, do you think is it possible to move the workflow association with the document? Basically i need to move a document from one site to another with the workflow association with it. –  Anu Jan 21 '13 at 19:29

1 Answer 1

You should maybe consider building a Reusable Workflow associated with a Content Type (e.g. associate it to the default Document Content type) and then you could export the Worflow as a solution package (.wsp) which you could install on the other site (see here http://technet.microsoft.com/en-us/library/ff608128(v=office.14).aspx)

One Document (.docx, .pptx, .pdf, etc.) is actually an Instance of a particular content type (Document) and Workflows cannot be attached to a Single List item, but rather to a List, a Content Type or it could be a Site Workflow.

share|improve this answer
    
Hi this copies the template right? i want to move workflow association to a document, if it has created tasks include them too.. including the current status of the workflow, include the document to an another site which has same structure as source site... –  Anu Jan 21 '13 at 20:18
    
not possible really to that extent. And even with a Visual Studio built Workflow wouldn't really work as the complexities are quite big. –  C. Marius - MVP Jan 21 '13 at 20:24

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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