locked
SPD2013 - Workflow Publish Failed for EPT Site Workflow RRS feed

  • Question

  • 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

    Monday, March 3, 2014 12:59 PM

Answers

  • Hi Forum,

    Just in case anyone else gets this issue:

    Re-registered the Workflow Service using the -force param and the workflow successfully published.

    Not sure what caused the Workflow to get out of sync....

    Cheers

    Mark

    • Marked as answer by MarkS_LE Thursday, March 6, 2014 11:13 PM
    Thursday, March 6, 2014 11:13 PM

All replies

  • Hi Forum,

    Just in case anyone else gets this issue:

    Re-registered the Workflow Service using the -force param and the workflow successfully published.

    Not sure what caused the Workflow to get out of sync....

    Cheers

    Mark

    • Marked as answer by MarkS_LE Thursday, March 6, 2014 11:13 PM
    Thursday, March 6, 2014 11:13 PM
  • In my case the issue is resolved when I refresh the SharePoint Designer and then Publish the workflow.
    Wednesday, June 4, 2014 10:07 AM