Pages

Wednesday, November 28, 2012

Unexpected error on server associating the workflow

I am trying to create a SharePoint Designer 2010 workflow in combination with SharePoint Online 2010. This workflow contains four approval actions but apparently this is not allowed. I get the following error:

Unexpected error on server associating the workflow

I removed one approval and it works. This must be a configuration setting set by Microsoft. Really frustrating because I cannot finish my solution :-(

My colleague Thijs Karreman sent me the solution for ON PREMISE only:


// raise the amount of workflow capacity
$app = get-spwebapplication http://sharepointurl
$app.UserDefinedWorkflowMaximumComplexity = 30000
$app.Update()

Change the following in web.config
<httpRuntime maxRequestLength="51200" executionTimeout="600" />  

1 replies:

Anonymous said...

I've tried the above and all other suggested solutions to this problem but none work.

The only sure-fire solution I've had success with is rebooting the farm server(s).

Post a Comment