Global Workflow XML Element Reference

Visual Studio Team Foundation Server 2013

Global Workflow Syntax Structure

You define the global workflow by using the GLOBALWORKFLOW element, which supports FIELDS (Definition) or GLOBALLISTS elements as children, but not both.

Specify FIELDS:

 Copy imageCopy Code
<?xml version="1.0" encoding="utf-8"?>
<GLOBALWORKFLOW>
   <FIELDS> 
      <FIELD> . . . </FIELD>
   </FIELDS>
</GLOBALWORKFLOW>

Specify GLOBALLISTS:

 Copy imageCopy Code
<?xml version="1.0" encoding="utf-8"?>
<GLOBALWORKFLOW>
   <GLOBALLISTS> 
      <GLOBALLIST> . . . </GLOBALLIST>
   </GLOBALLISTS>
</GLOBALWORKFLOW>

FIELD (Definition) Element

You use the following syntax to define the data fields within a global workflow. This syntax shows the FIELD (Definition) element format and all optional child elements. For more information, see

FIELD (Definition) element reference and All FIELD XML elements reference.
NoteNote

You cannot specify the HELPTEXT element for a field that you define in a global workflow.

 Copy imageCopy Code
<FIELD name="fieldDisplayName" refname="fieldReferenceName" type="String | Integer | Double | DateTime | PlainText | HTML | History | TreePath | GUID "
syncnamechanges="true | false" reportingname="reportingDisplayName" reportingrefname="reportingReferenceName"
reportable="Dimension | Detail | Measure" formula="avg" >
   <ALLOWEDVALUES> . . . </ALLOWEDVALUES>
   <ALLOWEXISTINGVALUE />
   <CANNOTLOSEVALUE />
   <COPY />
   <DEFAULT />
   <EMPTY />
   <FROZEN />   <MATCH />
   <NOTSAMEAS />
   <PROHIBITEDVALUES /> . . . </PROHIBITEDVALUES>
   <READONLY />
   <REQUIRED />
   <SERVERDEFAULT />
   <SUGGESTEDVALUES /> . . . </SUGGESTEDVALUES>
   <VALIDUSER />
   <WHEN>> . . . </WHEN>
   <WHENNOT> . . . </WHENNOT>
   <WHENCHANGED> . . . </WHENCHANGED>
   <WHENNOTCHANGED> . . . </WHENNOTCHANGED>
</FIELD>

Back to top

GLOBALLIST and LISTITEM Child Elements

The following table describes the GLOBALLIST and LISTITEM elements. You specify these elements as child elements of the GLOBALWORKFLOW element. You can use these elements to enumerate a list of values that appears to the user as a pick list or a drop-down menu of items. For more information, see

Define pick lists.

Element

Description and Syntax

GLOBALIST

Defines a set of LISTITEM elements that are stored for a team project collection or a team project.

globalListName: A string of text that contains between 1 and 255 characters.

 Copy imageCopy Code
<GLOBALLIST name="globalListName">
    <LISTITEM> . . . </LISTITEM>
</GLOBALLIST> 

GLOBALLIST is a required child element of the GLOBALLISTS element.

LISTITEM

Defines a valid value that appears in the list.

 Copy imageCopy Code
<LISTITEM value="listName" />

LISTITEM is a required child element of GLOBALLIST.

See Also

Concepts

Customize work tracking objects to support your team's processes

Other Resources