Thursday, March 10, 2016

Unexpected error on server associating the workflow

I have created a Workflow using the share point designer. This workflow contains three approval process with if and else condition.

While i try to save or Publish the Workflow i got the error on Sharepoint Designer

"Unexpected error on server associating the workflow"

After doing lot of research on Internet i found the solution. I got a poweshell script which increase the Limit of User defined Workflow Maximum Capacity. And this resolves my problem

$new_limit = 5000;

$webapp = [Microsoft.SharePoint.Administration.SPWebApplication]::Lookup("Web Application Url") 

$webapp.UserDefinedWorkflowMaximumComplexity = $new_limit 

$webapp.Update()


No comments:

Post a Comment