Event element

(Events element) (WorkflowInfo element) (Action4)

Applies to: SharePoint Server 2013

Specifies a workflow event from among available workflow events. 

Usage

    <events>
        <event />
    </events

Element information

Element type

Namespace

Schema file

Actions4.xsd

Definition

    <xs:element name="Event" minOccurs="0" maxOccurs="unbounded">
         <xs:attribute name="Name" type="s:string" use="required" />
         <xs:attribute name="DisplayName" type="s:string" use="required" />
         <xs:attribute name="EventGroup" type="s:string" use="required" />
         <xs:attribute name="Category" type="s:string" use="required" />
         <xs:attribute name="RankDefault" type="s:string" use="required" />
    </xs:element>

Elements and attributes

If the schema defines specific requirements, such as sequence, minOccurs, maxOccurs, and choice, see the definition section.

Parent elements

Element

Type

Description

Events

Child elements

None.

Attributes

Attribute

Type

Required

Description

Possible values

**Category**

s:string

required

The category associated with the event; for example, **ListItemEvent** or **ProjectEvent**.

Values of the s:string type.

**DisplayName**

s:string

required

The name of the event as rendered in the user interface.

Values of the s:string type.

**EventGroup**

s:string

required

The display name of the event group as rendered in the user interface; for example, **Project Web App Event**.

Values of the s:string type.

**Name**

s:string

required

The programmatic name of the event; for example, **ItemAdded**, **ItemUpdated**. This value originates in the list of events supported by SharePoint Foundation and Project Server 2013.

Values of the s:string type.

**RankDefault**

s:string

required

Specifies the sort order of the event when rendered in the user interface.

Values of the s:string type.