State Complex Type (Work Item Type Definition Schema)
Defines the value attribute and FIELDS child element for the STATE element, which defines a valid state for a work item type.
<xs:complexType name="State">
<xs:sequence>
<xs:element name="FIELDS" type="FieldReferences" minOccurs="0"/>
</xs:sequence>
<xs:attribute name="value" type="typelib:NonEmptyPlainConstant" use="required"/>
</xs:complexType>
Attributes and Elements
The following sections describe attributes, child elements, and parent elements.
Attributes
Attribute |
Description |
---|---|
value |
Required attribute. The workflow state of the work item (for example, Active). The attribute type is typelib:NonEmptyPlainConstant. Minimum length: 1; maximum length: 255. Pattern value: ^[^\\]*$ Pattern value example: Active |
Child Elements
Element |
Description |
---|---|
Optional element. Defines a collection of FIELD elements that reference the field definitions that are contained in the work item type. |
Parent Elements
None
Remarks
The State Complex Type is the STATE 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 |