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″”

SharePoint Commands STSADM – Features & Solutions


STSADM deactivating feature

  • stsadm -o deactivatefeature -id FEATUREGUID -url http:// -force
  • stsadm -o execadmsvcjobs
STSADM activating feature
  •  stsadm -o execadmsvcjobs stsadm -o activatefeature -id FEATUREGUID -url http://
  •  stsadm -o activatefeature -id FEATUREGUID -url http://


STSADM Retracting solution

  •  stsadm -o retractsolution -name WSPNAME.wsp -immediate -allcontenturls
  •  stsadm -o execadmsvcjobs

STSADM delete solution

  • stsadm -o deletesolution -name WSPNAME.wsp -override
  • stsadm -o execadmsvcjobs STSADM

STSADM add solution

  • stsadm -o addsolution -filename WSPNAME.wsp
  • stsadm -o execadmsvcjobs

STSADM deploy solution

  • stsadm -o deploysolution -name WSPNAME.wsp -url http:// -immediate -allowgacdeployment

How to use in CMD File:

  • SharePoint 2007 – C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN
  • SharePoint 2010 – C:\Program Files\Common Files\Microsoft Shared\web server extensions\14\BIN
  • SharePoint 2013 – C:\Program Files\Common Files\Microsoft Shared\web server extensions\15\BIN