Below error occurred when I am trying to publish demand management workflow (Project Server 2010).
Server was unable to process request. ---> Failed to publish workflow: Error in the application.
UserDefinedWorkflowMaximumComplexity was 8000 which I have updated to 15000 but still same issue.
- Size of workflow is 481 KB.
- Size of User Defined Action which I am using in workflow is 318 KB.
Error in ULS :
Error saving from workflow export file.: Nintex.Workflow.NWSavingWorkflowException: Failed to publish workflow: Error in the application. at Nintex.Workflow.Publishing.Publish.pyA=(String qCA=, String qSA=) at Nintex.Workflow.Publishing.Publish.jiA=(String jyA=, String kCA=, String kSA=, qiA= kiA=, WebPartPagesWebService kyA=) at Nintex.Workflow.Publishing.Publish.YSA=(XomlWorkflow cSA=, Boolean ciA=, Boolean cyA=, PublishOperationTrackingCollection dCA=, Boolean dSA=, WorkflowRepository diA=, Boolean dyA=, Boolean eCA=) at Nintex.Workflow.Publishing.Publish.PublishAWorkflow(String wfName, NWActionConfigurations configs, Guid listId, SPWeb web, ImportContext importCtx, Boolean validate, SPContentTypeId contentTypeId, String changeNotes, String& publishWorkflowString) at Nintex.Workflow.Publishing.Publish.PublishAWorkflow(String wfName, NWActionConfigurations configs, Guid listId, SPWeb web, ImportContext importCtx, Boolean validate, SPContentTypeId contentTypeId, String changeNotes) at NintexWorkflowWS.PublishWorkflow(String wfName, String activityConfigs, Guid listId, String contentTypeId, String changeNotes) (Build:2430)