SharePoint log error: UserDefinedWorkflowMaximumComplexity

Document created by pamela.denchfield Employee on Feb 17, 2015
Version 1Show Document
  • View in full screen mode

Products: Nintex Workflow 2013, Nintex Workflow 2010



A UserDefinedWorkflowMaximumComplexity error appears in SharePoint logs.



The following error appears in SharePoint logs.

"Workflow dll failed to compile because it exceeded UserDefinedWorkflowMaximumComplexity of 7000"



The number of Types created during workflow compilation exceeds the maximum allowed by SharePoint or the February 2012 SharePoint Cumulative Update (CU) or newer CU is not installed. This error can occur with workflows that contain several local workflow variables. The error is more common for workflows with multiple Approval Process actions, as each preconfigured Approval Process Action comes with a large set of local variables, for the different configurable property of the Approval Process. For more information, see the following Microsoft article:



Install the February 2012 SharePoint Cumulative Update (CU) or newer. If the error still appears, change the UserDefinedWorkflowMaximumComplexity property. A PowerShell script is provided in the referenced Microsoft article:


Disclaimer: Consult your administrator and the referenced Microsoft articles to determine the optimal SharePoint configuration for your environment.