I am having a problem with a SharePoint Designer 2013 workflow which has been deployed onto a production farm as part of a site feature. It is working perfectly on our development farm, upon activation the workflow task list and content types are created
and the workflow is added and associated with the site.
However on the production farm the feature will not activate, instead I receive the following error in the logs:
Microsoft.Workflow.Client.ActivityValidationException: Workflow XAML failed validation due to the following errors: Cannot set unknown member 'SingleTask.RelatedContentLinkListItemIntegerId'. HTTP headers received from the server - ActivityId: 5ed41049-2d37-4ab8-8f68-38dddfb2af25.
NodeId: SVR-SP-WFE1. Scope: /SharePoint/default/34dba7eb-6906-46db-82be-0fb15159fa59/8af2e02a-18ca-4764-80ba-1a1436aeb950. Client ActivityId : 9dbd609c-0988-e062-a685-ad9bc8e379a3. ---> System.Net.WebException: The remote server returned an error: (400)
Bad Request.
at Microsoft.Workflow.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)
at Microsoft.Workflow.Client.HttpGetResponseAsyncResult1.End(IAsyncResult result)
at Microsoft.Workflow.Client.ClientHelpers.SendRequest[T](HttpWebRequest request, T content) - -- End of inner exception stack trace ---
at Microsoft.Workflow.Client.ClientHelpers.SendRequest[T](HttpWebRequest request, T content)
at Microsoft.Workflow.Client.WorkflowManagementClient.SendRequest[T](HttpWebRequest request, T content)
at Microsoft.Workflow.Client.ActivityManager.Publish(ActivityDescription description, Boolean overwriteXClassName, Boolean terminateDependentInstances)
at Microsoft.SharePoint.WorkflowServices.FabricWorkflowManagementClient.PublishActivity(String serviceGroupName, ActivityDescription activity, Boolean overwriteXClass, Nullable1 terminateInstances)
at Microsoft.SharePoint.WorkflowServices.FabricWorkflowDeploymentProvider.PublishActivity(FabricWorkflowManagementClient client, ActivityDescription activityDefinition, String serviceGroupName) StackTrace: at Microsoft.Office.Server.Native.dll: (sig=1f86b0bf-2440-4b16-9099-860a571153c2|2|microsoft.office.server.native.pdb,
offset=131CE) at Microsoft.Office.Server.Native.dll: (offset=21C85)
I have seen posts saying that to resolve this I should re-associate the workflow manager with the site collection (e.g.
this post by Mikhail Pushin) however this has not helped at all. I have also tried completely removing and recreating the Workflow Manager farm but that also did not help.
Has anyone got any other ideas? I'm just about out as there does not seem to be any more useful information in the log.