VariableType Element (WorkflowInfo)
Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013
Specifies a type that can be used for local variables in the workflow.
Definition
<VariableTypes>
<VariableType> </VariableType>
</VariableTypes>
Elements and attributes
The following sections describe attributes, child elements, and parent elements.
Attributes
Attribute |
Description |
---|---|
**Type** |
Required **text**. Specifies the variable type name. |
**DisplayName** |
Required **text**. Specifies the display name of the type. |
**Assembly** |
Optional **text**. Specifies the binary file that defines the class specified by **Type**. |
**CoercionActivity** |
Required **text**. Identifies a class that can convert values of any type into the type specified by **Type**. |
**Default** |
Optional **Boolean**. **true** to use this type as the default variable type; otherwise, **false**. |
**ItemIdType** |
Optional **Boolean**. **true** to use this type as the type for identifying list items in lists; otherwise, **false**. |
**Hidden** |
Optional **Boolean**. **true** to hide the display of the type name; otherwise, **false**. |
Child elements
None