WORKFLOW Element (Work Item Type Definition Schema)

Contains a STATES element and a TRANSITIONS element that together define the workflow of the work item type. The workflow is a set of valid transitions from one state to another and the specific conditions associated with each transition.

Schema Hierarchy

WITD Element (Work Item Type Definition Schema)

    WORKITEMTYPE Element (Work Item Type Definition Schema)

        WORKFLOW Element (Work Item Type Definition Schema)

<xs:element name="WORKFLOW" type="Workflow" />

Attributes and Elements

The following sections describe attributes, child elements, and parent elements.

Attributes

None

Child Elements

Element

Description

STATES Element (Work Item Type Definition Schema)

Required element.

Defines a collection of STATE elements that describe the valid states that the work item type can be in.

TRANSITIONS Element (Work Item Type Definition Schema)

Required element.

Defines a collection of TRANSITION elements that describe the valid state transitions for the work item type.

Parent Elements

Element

Description

WORKITEMTYPE Element (Work Item Type Definition Schema)

Required element.

Contains the work item type definition.

Remarks

WORKFLOW is a required child element of WORKITEMTYPE.

minOccurs="1"

maxOccurs="1"

Example

<WORKFLOW>
    <STATES>…</STATES>
    <TRANSITIONS>…</TRANSITIONS>
</WORKFLOW>

Element Information

Namespace

https://schemas.microsoft.com/VisualStudio/2005/workitemtracking/typedef

Schema Name

Work Item Type Definition

Validation File

WorkItemTypeDefinition.xsd

Element Type

Workflow Complex Type (Work Item Type Definition Schema)

Can Be Empty

No

See Also

Tasks

How to: Change the Workflow of a Work Item Type

Concepts

Designing the Workflow

Other Resources

Defining Work Item Workflow