none
How to set Timerjob BatchFetch Limit in Powershell... RRS feed

  • Question

  • What is the equivalent method of changing the BatchFetchLimit on the job-workflow in powershell?

    The old stsadm was

    stsadm -o setproperty -pn workitem-eventdelivery-batchsize -pv “200”

    I've tried changing it from the object, but it's a read only property, I don't see methods to change it.

    This setting is changeable in the Services On Server Workflow Timer service (it's the only configuration item in it).  I just want to know the Powershell Reference....  See job format below:
    DisplayName                     : Workflow
    Description                     : Processes workflow events.
    AutoDeleteWorkItemWhenException : False
    BatchFetchLimit                 : 100
    EnableBackup                    : True
    Service                         : SPWorkflowTimerService Name=spworkflowtimerv4
    WebApplication                  :
    Server                          :
    LockType                        : None
    Schedule                        : every 5 minutes between 0 and 59
    Title                           : Workflow
    LastRunTime                     : 4/6/2017 8:50:40 AM
    Retry                           : False
    IsDisabled                      : False
    VerboseTracingEnabled           : False
    HistoryEntries                  : {, , , ...}
    DiskSizeRequired                : 0
    CanSelectForBackup              : False
    CanRenameOnRestore              : False
    CanSelectForRestore             : False
    Name                            : job-workflow
    TypeName                        : Microsoft.SharePoint.Administration.SPWorkflowJobDefinition
    Id                              : e761387e-e257-47b4-a159-1c58cafb83ed
    Status                          : Online
    Parent                          : SPWorkflowTimerService Name=spworkflowtimerv4
    Version                         : 2595
    Properties                      : {}
    Farm                            : SPFarm Name=SharePoint_Config
    UpgradedPersistedProperties     : {}


    Thursday, April 6, 2017 3:07 PM

Answers