ACTIONS Element (Work Item Type Definition Schema)

Defines a collection of ACTION elements that each define an action string that can be used when calling the WorkItem.GetNextState method to get the post-action state of the work item. For more information, see the WorkItem.GetNextState method in the Microsoft.TeamFoundation.WorkItemTracking.Client namespace in the Team Foundation Server SDK included in the Visual Studio SDK.

Schema Hierarchy

WORKITEMTYPE Element (Work Item Type Definition Schema)

    WORKFLOW Element (Work Item Type Definition Schema)

        TRANSITIONS Element (Work Item Type Definition Schema)

            TRANSITION Element (Work Item Type Definition Schema)

                ACTIONS Element (Work Item Type Definition Schema)

<ACTIONS>
        <ACTION>…</ACTION>
</ACTIONS>

Attributes and Elements

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

Attributes

None.

Child Elements

Element Description

ACTION

Optional element.

Defines an action string that can be used when calling the WorkItem.GetNextState method to get the post-action state of the work item.

Parent Elements

Element Description

TRANSITION

Required element.

Defines a valid state transition for the work item type.

Remarks

ACTIONS is an optional child element of TRANSITION.

minOccurs="0"

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

ActionList

Can Be Empty

Yes

See Also

Reference

ACTION Element (Work Item Type Definition Schema)