Share via


Workflow Complex Type (Work Item Type Definition Schema)

Defines 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.

<xs:complexType name="Workflow">
    <xs:sequence>
        <xs:element name="STATES" type="States"/>
        <xs:element name="TRANSITIONS" type="Transitions"/>
    </xs:sequence>
</xs:complexType>

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.

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

TRANSITIONS Element (Work Item Type Definition Schema)

Required element.

Specifies a collection of TRANSITION elements that define the valid state transitions for the work item type.

Parent Elements

None

Remarks

Workflow is the WORKFLOW Element (Work Item Type Definition Schema) type.

Element Information

Namespace

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

Schema Name

Work Item Type Definition

Validation File

WorkItemTypeDefinition.xsd

Can be Empty

Not applicable

See Also

Concepts

Designing the Workflow

Other Resources

Defining Work Item Workflow