Share via


ALLOWEXISTINGVALUE Element (Work Item Type Definition Schema)

Defines the field as allow existing value. This means that the field values that already exist will be allowed, even if they are not valid. All new field values must be valid.

<xs:element name="ALLOWEXISTINGVALUE" type="EmptyRule"/>

Attributes and Elements

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

Attributes

None.

Child Elements

None.

Parent Elements

Element

Description

FIELD Element (WORKFLOW)

Required element.

References a work item field definition and the rules and conditions that apply to the field. The reference is based on the STATE, TRANSITION, DEFAULTREASON, or REASON element that its parent FIELDS element is a child of.

FIELD Element (WORKITEMTYPE Element)

Required element.

Defines a work item field and specifies the rules and conditions that apply to it.

Remarks

ALLOWEXISTINGVALUE is an optional child element of FIELD (Work Item Type Definition Schema) and FIELD (WORKITEMTYPE element).

Specify this element under the FIELD (WORKITEMTYPE element) element to apply it to the rules that are defined for the field. This includes the rules specified in the STATE, TRANSITION, DEFAULTREASON, and REASON elements of the field.

Specify this element under the STATE element to apply it to the rules that are defined in the state for the field, and also to the rules that are defined for the field for all transitions into the state.

Specify this element under the TRANSITION element to apply it to the rules that are defined in the transition for the field, and also to the rules that are defined for the field in the REASON and DEFAULTREASON elements.

Example

<ALLOWEXISTINGVALUE />

Element Information

Namespace

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

Schema Name

Work Item Type Definition

Validation File

WorkItemTypeDefinition.xsd

Element Type

EmptyRule Complex Type (Work Item Type Definition Schema)

Can Be Empty

Not applicable

See Also

Concepts

Field Rules, Defaults, Qualifiers, Lists, Actions, and Matching Patterns

Other Resources

Setting Conditions on a Work Item Field