During a site migration, you receive the following error message:
Exception: The content type workflow association failed to migrate with exception: Could not find a suitable tasks list on the target to apply the workflow association to."
Stack: at Metalogix.SharePoint.Adapters.OM.OMAdapter.AddContentTypeWorkflowAssociation(SPWeb Web, String sTargetID, XmlNode ndWorkflowAssociation, Boolean bAllowDBWrite)
at Metalogix.SharePoint.Adapters.OM.OMAdapter.AddWorkflowAssociation(String sTargetId, String sWorkflowXml, Boolean bAllowDBWrite)
at Metalogix.SharePoint.Actions.Migration.CopyWorkflowAssociationsAction.CopyWorkflowAssociations(SPContentType sourceCT, SPContentType targetCT, SPList targetList)
On the source site, the default Tasks list has been removed and has been replaced with another Tasks list that has a different name. If you try to modify the workflow association list setting, you can see that it is pointing to the new Tasks list (e.g. Tasks1) so you may click "Cancel" instead of "OK". Hence, the workflow gets corrupted because it is still actually referencing to the original Tasks list.
Before running the site migration job, you must edit the workflow association list in the source site, select the new Tasks list, and then click OK.
© ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center