VariableType element

(VariableTypes element) (WorkflowInfo element) (Action4)

Applies to: SharePoint Server 2013

Specifies a type that can be used for local variables in the workflow.

Usage

    <VariableTypes>
        <VariableType />
    </VariableTypes>

Element information

Element type

Namespace

Schema file

Actions4.xsd

Definition

    <xs:element name="VariableType">
         <xs:attribute name="Type" type="s:string" use="required" />
         <xs:attribute name="DisplayName" type="s:string" use="required" />
         <xs:attribute name="Assembly" type="s:string" />
         <xs:attribute name="Default" type="s:boolean" />
         <xs:attribute name="ItemIdType" type="s:boolean"  />
         <xs:attribute name="Hidden" type="s:boolean" />
      </xs:element>

Elements and attributes

Parent elements

Element

Type

Description

VariableTypes

Child elements

None.

Attributes

Attribute

Type

Required

Description

Possible values

**Assembly**

s:string

optional

Specifies the binary file that defines the class specified by the **Type** attribute.

Values of the s:string type.

**Default**

s:boolean

optional

Set to **true** to use this type as the default variable type; otherwise, **false**.

Values of the s:boolean type.

**DisplayName**

s:string

required

Specifies the display name of the type.

Values of the s:string type.

**Hidden**

s:boolean

optional

Set to **true** to hide the **Display Name** of the type; otherwise, **false**.

Values of the s:boolean type.

**ItemIdType**

s:boolean

optional

Set to **true** to use this type as the type for identifying list items; otherwise, **false**.

Values of the s:boolean type.

**Type**

s:string

required

Specifies the variable data type.

Values of the s:string type.