Blog Archives

Improving Workflow Performance – SharePoint 2013

Many times you need  improve the performance of the workflow due to delay in execution, or the email intervals. Whatever the reasons are… , you need to check the four parameters to improve the workflow Performance:

 1 .Increase Throttle size
  • The number of workflows that can be processed concurrently per content database.
  • Default: 15
  • Change using: Set-SPFarmConfig –WorkflowPostponeThreshold 20″ 
  • Or : stsadm -o setproperty -pn workflow-eventdelivery-throttle -pv “20”    

2. Increase Default Batch Size

  • The number of SPWorkItems that the “job-workflow” Timer Job will attempt to complete in one run.
  • Default: 100
  • Change using: Set-SPFarmConfig –WorkflowBatchSize 200
  • Or: stsadm -o setproperty -pn workitem-eventdelivery-batchsize -pv “200”

3. Increase Time out

  • How long the job-workflow Timer Job has to complete its batch before it is forcibly shut down.
  • Default: 5 mins
  • Change using: Set-SPFarmConfig –WorkflowEventDeliveryTimeout 20
  • Or: stsadm -o setproperty -pn workflow-eventdelivery-timeout -pv “10”

4. Increase Workflow Timer Interval

  • How  frequently the job-worflow Timer Job run
  • Default: 5 mins
  • Change using: “Set-SPTimerJob –Identity job-workflow -Schedule  “Every 2 minutes between 0 and 59″”