Workflow-eventdelivery-timeout: Stsadm property (Office SharePoint Server)

Stsadm

This Office product will reach end of support on October 10, 2017. To stay supported, you will need to upgrade. For more information, see , Resources to help you upgrade your Office 2007 servers and clients.

Description

Specifies the time in which a workflow job must run without the job timing out. If the workflow job does time out, it gets put back in the queue to be run again.

Syntax

stsadm -o setproperty

   -propertyname workflow-eventdelivery-timeout

   -propertyvalue <A valid integer>

   [-url] <http://server_name>

The syntax for the getproperty operation is:

stsadm -o getproperty

   propertyname workflow-eventdelivery-timeout

   [-url] <http://server_name>

NoteNote:
You can substitute -pn for -propertyname and -pv for -propertyvalue.

Values

The following table shows possible values.

Name Value

propertyname

Gets or sets the name of the property.

propertyvalue

A valid integer. For example, if the value is set to 5, the workflow job must run within 5 minutes are the workflow job will time out. Any workflow job that does time out is placed back in the queue to run again.

The default value is 5.

NoteNote:
If you create a workflow solution that has a very long processing time to start your workflows, complete tasks, or modify workflows, you should consider increasing this value. View the ULS logs and watch the Microsoft SQL Server table ScheduledWorkItems to determine if the workflow jobs are timing out. The default folder location for the ULS log is Program Files\Common Files\Microsoft Shared\Web server extensions\12\Logs. In the ULS log file, you can use "workflow" or "workflow infrastructure" as search keywords.

url

Typically, a path to the URL of the Web application, in the form http://server_name.

Examples

To set the timeout value of a workflow job to 10 minutes, use the following syntax:

stsadm -o setproperty -pn workflow-eventdelivery-timeout -pv "10"

To view the current setting of the workflow-eventdelivery-timeout property, use the following syntax:

stsadm -o getproperty -pn workflow-eventdelivery-timeout