Hi Forum,
Bit of a strange one this. I've been previously creating a workflow which is successfully published to a Sharepoint2013/Project Server 2013 farm.
I have recently started changing some events, email formats etc, nothing untowards, I'm able to save the workflow and also checking for errors comes back as validated.
However, when I come to publish it, the progress bar gets only so far and then fails with the follow error description:
Microsoft.Workflow.Client.ActivityValidationException: Workflow XAML failed validation due to the following errors:
Cannot set unknown member 'SingleTask.PreserveIncompleteTasks'. HTTP headers received from the server - ActivityId: ade73c56-7277-431e-b6fc-ace0dcde9054. NodeId: PRJSERVER2012. Scope: /SharePoint/default/d87deb6a-a990-4d95-9187-4c320525d3c6/55e038b8-cf3e-4ee2-8dc7-40b7384f9582.
Client ActivityId : a062799c-ab91-90eb-551e-f14622e28a18. ---> System.Net.WebException: The remote server…
I've not come across this before and was wondering if this might be due to a server-based change or a corruption on the XAML file.
Just to make sure the workflow service is running, I create a very simple workflow and confirmed the publish was ok and that the Test EPT functioned correctly, when creating a new project.
I was going to start again and re-create the problem workflow as a new file / GUID...
Regards
Mark