none
Errors were found when compiling the workflow. The workflow files were saved but cannot run.

    Question

  • Hello everyone,

    I am creating a  list workflow using share point designer 2013.   i take a workflow task and perfom some action and save. when publish we get an error.

    Errors were found when compiling the workflow. The workflow files were saved but cannot run.

    and in advance button click we get the following error.

    Microsoft.Workflow.Client.ActivityValidationException: Workflow XAML failed validation due to the following errors:
    Cannot set unknown member 'LookupSPListItemDynamicValueProperty.ItemId'. HTTP headers received from the server - ActivityId: c047ab29-29e1-4dfb-8ba9-e0e4b17f55c6. NodeId: WFFE_IN_2. Scope: /spo/182d1d17-fdcf-4499-954e-b5e679f6fd02/8f44c433-708d-4dcb-96d8-8af192edda12/6f0e3a49-2308-43c0-adaf-e564d4e5a771. Client ActivityId : 540bfd9b-91f6-209b-200c-d807b1bd0d2e. ---> System.Net.WebE

    Thanks,

    Krishna

    Saturday, February 09, 2013 10:50 AM

Answers

  •  I faced same problem and take long time to solve. I decided to Re-register service into my side using command:

    Register-SPWorkflowService -SPSite 'https://myhost/mysite' -WorkflowHostUri 'https://workflowhost' -AllowOAuthHttp -Force

    I reopened SharePoint Designer again and problem disappeared.

    Tarek Yehia

    http://sharepointserver-2007.blogspot.com/


    Tarek Yehia

    Monday, April 01, 2013 7:10 PM

All replies

  • Did you ever find a solution to this problem?

    I am also getting this error, inspite of the WF publishing without issue for many weeks.


    Thursday, March 21, 2013 1:12 AM
  •  I faced same problem and take long time to solve. I decided to Re-register service into my side using command:

    Register-SPWorkflowService -SPSite 'https://myhost/mysite' -WorkflowHostUri 'https://workflowhost' -AllowOAuthHttp -Force

    I reopened SharePoint Designer again and problem disappeared.

    Tarek Yehia

    http://sharepointserver-2007.blogspot.com/


    Tarek Yehia

    Monday, April 01, 2013 7:10 PM
  • That worked for me! thanks :)
    Tuesday, April 02, 2013 12:29 AM
  • Thank you very much Terek!

    I have spent a lot of time trying to fix this issue too and your solution has solved it for me!

    What was interesting, that I could not publish WF only from SPD installed on the SP server, but SPD installed on my Widows 7 computer worked well. However, after clearing the cache of the latter it started to misbehave too. Now both of them work well. I even did not need to restart SPD.

    Regards, Michael (http://sp2013-blog.com)

    Tuesday, April 02, 2013 3:40 PM
  • Hi Tarek,

    I am using Office365, so I wonder how can I issue this command?

    Best regards,

    scrabblekid

    Thursday, April 25, 2013 8:53 AM