Thursday, 21 April 2016

How To Increase Workflow Size Using PowerShell

Summary:  The Default Size of the SharePoint 2013 workflow is 5 MB which is quite enough until you are writing very complex or multi-level approval workflow.  
1   To increase workflow size we need to open workflow manager PowerShell with administrator1.  
           First to get the current allowed size of workflow type Get-WFServiceConfiguration and press enter. It will ask you to provide the workflow serviceURL. Enter it. Then in the name parameter, give the name of the configuration whose value you want to get. In this case it is WorkflowServiceMaxInstanceSizeKB.

1.       To update this setting run below command, Once all done reset IIS and see the result
Set-WFServiceConfiguration –ServiceUri http://your server name12291 -Name “WorkflowServiceMaxInstanceSizeKB” -Value 6262880


 2.Verify size is increased by running  above command.



No comments:

Post a Comment