ACTIONS Element (Work Item Type Definition Schema)

Defines a collection of ACTION elements. Each ACTION element defines a string that is passed to the WorkItem.GetNextState method, which returns the next 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

WITD Element (Work Item Type Definition Schema)

    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)

<xs:element name="ACTIONS" type="ActionList" minOccurs="0"/>

Attributes and Elements

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

Attributes

None

Child Elements

Element

Description

ACTION Element (Work Item Type Definition Schema)

Optional element.

Defines an action string that supplies the argument when calling the WorkItem.GetNextState method. The WorkItem.GetNextState method returns the post-action state of the work item.

Parent Elements

Element

Description

TRANSITION Element (Work Item Type Definition Schema)

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"

Example

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

Element Information

Namespace

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

Schema Name

Work Item Type Definition

Validation File

WorkItemTypeDefinition.xsd

Element Type

ActionList Complex Type (Work Item Type Definition Schema)

Can Be Empty

Yes

See Also

Concepts

Designing the Workflow

Other Resources

Defining Work Item Workflow