locked
SharePoint Designer 2013 Errors were found when compiling the workflow. The workflow files were saved but cannot be run. Unexpected error on server associating the workflow. RRS feed

  • Question

  • Hello

    I am creating a multi step workflow with multiple Approval steps.  When I get to step 7 or the 7th Approval step and try to publish it, it states that "Errors were found when compiling the workflow.  The workflow files were saved but cannot be run."  With "Unexpected error on server associating the workflow" in the advanced section.  This same error occurs at other stages of the approvals as well.  

    also i tried this workaround 

    1. <httpRuntime maxRequestLength="51200" executionTimeout="500" />

    2. $app = get-spwebapplication "http://WEBAPP-URL"

    $app.UserDefinedWorkflowMaximumComplexity = 50000
    $app.Update()


    Thanks for the help!


    • Edited by M_IT Wednesday, June 28, 2017 8:04 AM
    Wednesday, June 28, 2017 8:03 AM

All replies