Share via


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

WORKITEMTYPE Element (Work Item Type Definition Schema)

    WORKFLOW Element (Work Item Type Definition Schema)

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

Attributes and Elements

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

Attributes

None.

Child Elements

Element Description

STATES

Required element.

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

TRANSITIONS

Required element.

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

Parent Elements

Element Description

WORKITEMTYPE

Required element.

Contains the work item type definition.

Remarks

WORKFLOW is a required child element of WORKITEMTYPE.

minOccurs="1"

maxOccurs="1"

Element Information

Namespace

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

Schema Name

Work Item Type Definition

Validation File

WorkItemTypeDefinition.xsd

Element Type

Workflow

Can Be Empty

No

See Also

Reference

STATES Element (Work Item Type Definition Schema)
TRANSITIONS Element (Work Item Type Definition Schema)

Other Resources

Defining Work Item Workflow