Partager via


Désinstaller un flux de travail

When a predefined or Visual Studio custom workflow is no longer needed, you can uninstall it by using the uninstallfeature command from the Stsadm command-line tool, in the same way that you uninstall any SharePoint Feature. After you run this command, the workflow is no longer available from the user interface but the source files are still on the server, making it possible to later re-install the workflow. Before uninstalling a workflow, all workflow instances need to be completed or canceled and the workflow must be deactivated.

Before performing this procedure, read:

NoteRemarque :

To uninstall a SharePoint Designer workflow, you delete its source files from the server. For more information about deleting SharePoint Designer workflows, see Supprimer un flux de travail SharePoint Designer.

Uninstall a workflow by using the Stsadm command-line tool

Use this procedure to uninstall both predefined workflows and Visual Studio custom workflows.

ImportantImportant :

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

Uninstall 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. Type the following command, and then press ENTER:

    stsadm -o uninstallfeature –filename <path of the Feature.xml file relative to the 12\TEMPLATE\FEATURES folder>

    For more information, see Uninstallfeature : opération Stsadm (Office SharePoint Server).

Voir aussi

Concepts

Activer les flux de travail