Activate workflows

Applies To: Office SharePoint Server 2007

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.

 

Before you can use a predefined or Visual Studio workflow, you must activate it for your site or site collection.

Before performing this procedure, read:

Activating workflows

Important

You must be a member of the Farm Administrators SharePoint group to perform this procedure.

Activate a workflow by using the user interface

  1. In Central Administration, click Site Actions, and click Site Settings.

  2. On the Site Settings page, under Site Collection Administration, click Site collection features.

  3. On the Site Collection Features page, click Activate next to the workflow feature you want to activate.

Deactivate a workflow by using the user interface

  • If you later decide that you want to deactivate a workflow, access this page again and click Deactivate to deactivate the workflow. Workflow instances that are in progress when the workflow is deactivated continue running until they are completed or cancelled.

Important

To run the Stsadm command-line tool, you must be a member of the Administrators group on the local computer.

Activate a workflow by using the Stsadm command-line tool

  1. On the drive on which SharePoint Products and Technologies is installed, change to the following directory: %COMMONPROGRAMFILES%\Microsoft shared\Web server extensions\12\Bin.

  2. At a command prompt, type the following command, and then press ENTER:

    stsadm -o activatefeature -name <LinkingExample> -url <targetsite>

    For more information, see Activatefeature: Stsadm operation (Office SharePoint Server).

Deactivate a workflow by using the Stsadm command-line tool

  1. On the drive on which SharePoint Products and Technologies is installed, change to the following directory: %COMMONPROGRAMFILES%\Microsoft shared\Web server extensions\12\Bin.

  2. At a command prompt, type the following command, and then press ENTER:

    stsadm -o deactivatefeature -name <LinkingExample> -url <targetsite>

    For more information, see Deactivatefeature: Stsadm operation (Office SharePoint Server).