I am on SP1. I am messing around with SharePoint Workflow Integration. What I want to do is create workflows for content types. When I deploy the processes I am getting this error. I get no errors when I build the processes.
Does this work?
Thanks,
Jason
Error 2 Task Error: System.Exception: Error occurred associating the workflow with the content type. ---> System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> Value does not fall within the expected range.
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at SourceCode.SharePoint.WebServices.K2SPWorkflowAssociations.AssociateWorkflowWithContentType(Guid FeatureID, String ContentTypeName, String TaskListName, String HistoryListName, String AssociationName, K2SPWorkflowStartOptions StartOptions, Boolean updateSiteAndListContentTypes)
at SourceCode.Workflow.SharePoint.Common.WorkflowAssociations.AssociateWorkflowWithContentType(Guid FeatureID, String ContentTypeId, String TaskID, String HistoryID, String WorkflowFullName, WorkflowStartOptions StartOptions, Boolean updateSitesAndListContentTypes, CredentialCache CredCache)
at SourceCode.DeploymentTasks.SharePoint.WorkflowIntegration.WorkflowIntegrationService.AssociateWorkflow(IntegrationObject integration)
--- End of inner exception stack trace ---
at SourceCode.DeploymentTasks.SharePoint.WorkflowIntegration.WorkflowIntegrationService.AssociateWorkflow(IntegrationObject integration)
at SourceCode.DeploymentTasks.SharePoint.WorkflowIntegration.WorkflowIntegrationService.Execute(IntegrationObject integration, Boolean testMode, Boolean createDependancies)
at SourceCode.DeploymentTasks.SharePoint.WorkflowIntegration.WorkflowIntegrationTask.Execute()
C:RDAK2ProcessesSOWRDA.K2.Process.SOWRDA.K2.Process.SOWobjDebugDeploymentRDA.K2.Process.SOW.msbuild 135 6 RDA.K2.Process.SOW