Cannot view the old workflow task items when workflows are restore

Cannot view the old workflow task items when workflows are restore

Post by dG9ueX » Thu, 05 Feb 2009 00:52:19


Hi,

I am trying to restore workflow's task list items and document library
list's workflow association using SharePoint object model (i.e. SPList,
SPListItem, SPWorkflowAssociation). The workflow task items and document
library list items were restored ok, but when I clicked on the task item, I
got an error saying that the parent item of the workflow is in recycle bin.

The way I restored the workflow is to create workflow association with the
list using the stored data before the site was deleted. But I noticed that
the new workflow association GUID is different from the old GUID and there is
no way to use the old GUID for the new workflow association.

I suspect that is the cause of the problem because the restored task items
still refer to the old GUID as do the workflow history items.

Is it possible to restore the workflow using SharePoint object model?

Thanks,

Tony
 
 
 

1. Exchange Workflow Vs Other Workflow.

2. Workflow Error (Child Workflow added but not visible)

Has anyone ever experienced this before? When using the Child Workflow option in CRM 4.0, I notice at certain areas it allows me to add the CWF but it wont display what it that CWF is. It shows two bullet points(arrows)like it is calling something but it doesnt display what it is, it keeps it hidden.

As a result, my parallel wait is not working as it should. I have no idea why because the query is accurate but it leads me to belive that this hidden CWF has something to do with the query not working.

Any help would be appreciated.
Thanks




Submitted via EggHeadCafe - Software Developer Portal of Choice
Dr. Dotnetsky's Cool .NET Tips & Tricks # 13
http://www.yqcomputer.com/

3. triggering a workflow activity when another workflow is finished

4. Windows Workflow Foundation Web Workflow Approvals Starter Kit: problem

5. SQL workflow and Exchange Workflow

6. Which Workflow? Custom Workflow?

7. SharePoint, Workflow and Web Services - restart workflow

8. problem with creating workflow using workflow designer and exchang

9. MORE THAN ONE WORKFLOW IN A EXCHANGE WORKFLOW PROJECT

10. Starting a workflow from within a workflow.

11. Individual user unable to approve workflow, if workflow approver is AD group

12. Sharepoint Workflows and workflow.xml

13. Custom workflow forms and workflow.xml file problem

14. Cms2002 WorkFlow - Connecting to workflow engine

15. Problem with importing workflow when workflow consists of "send e-mail - new message" actions