Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Job-workflow-autoclean: Stsadm property (Windows SharePoint Services)

PerformancePoint Server 2007

Applies To: Windows SharePoint Services 3.0


Topic Last Modified: 2008-03-25

Specifies the time schedule for when a scan occurs to delete workflow instance data and workflow task items that have been in a completed state for longer than an amount of time specified on the workflow template.

This property does not set the expiration value of a completed workflow. The default value is daily. However, if no value is specified, the expiration value is 60 days.

For more information about workflow, see Workflow management: Stsadm properties (Windows SharePoint Services).

This property is available only from the command line.

stsadm -o setproperty

   -propertyname job-workflow-autoclean

   -propertyvalue <valid date and time interval>

   [-url <http://server_name>]

The syntax for the getproperty operation is:

stsadm -o getproperty

   propertyname job-workflow-autoclean

   [-url <http://server_name>]

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

The following table shows possible values.


Value Description


Gets or sets the name of the property.


A valid Windows SharePoint Services Timer service (SPTimer) schedule in the form of any one of the following schedules:

  • "Every 5 minutes between 0 and 59"

  • "Hourly between 0 and 59"

  • "Daily at 15:00:00"

  • "Weekly between Fri 22:00:00 and Sun 06:00:00"

  • "Monthly at 15 15:00:00"

  • "Yearly at Jan 1 15:00:00"


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

To set the time schedule for when the scan will occur to delete workflow data for the Web application, http://test, use the following syntax:

stsadm -o setproperty -pn job-workflow-autoclean -pv "daily at 15:00:00" -url http://test

To view the current setting of the job-workflow-autoclean property, use the following syntax:

stsadm -o getproperty -pn job-workflow-autoclean -url http://test

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft