
If you do not specify a project, the global workflow is imported or exported for the collection. This project must be defined in the collection that you specified by using the /collection parameter.

The project for which you want to export or import the global workflow. If you do not specify a virtual directory, you must specify the URI in the following format: You must specify the URI in the following format: ServerName:Port/VirtualDirectoryName/CollectionName Witadmin importglobalworkflow /collection:CollectionURL /f:FileName Syntax witadmin exportglobalworkflow /collection:CollectionURL For more information, see the following page on the Microsoft website: User Access Control. To open an elevated Command Prompt window, choose Start, open the Command Prompt shortcut menu, and then choose Run as Administrator. See Change project collection-level permissions.Įven if you sign in with administrative permissions, you must open an elevated Command Prompt window to perform this function on a server that is running Windows Server 2008. To import a global workflow to a project collection, you must be a member of either the Team Foundation Administrators or Project Collection Administrators.To import a global workflow to a project, you must be a member of the following security groups: Team Foundation Administrators, Project Collection Administrators, or Project Administrators.To export a global workflow, you must be a valid user of the project or project collection.

You can install Visual Studio Community (which provides access to Team Explorer) or Visual Studio Team Explorer 2017 for free. On a 32-bit edition of Windows, replace %programfiles(x86)% with %programfiles%. Or, TeamExplorer, Professional or Enterprise in place of Community, depending on the version you've installed. %programfiles(x86)%\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer Visual Studio 2017 or Team Explorer 2017 client: You can access this tool by installing the free version of Visual Studio Community or Visual Studio Team Explorer. The witadmin command-line tool installs with any version of Visual Studio. To run the witadmin command-line tool, open a Command Prompt window where Visual Studio is installed.

How to run the witadmin command-line tool To learn about global workflow, see Global workflow XML element reference.

