Variable data types

All variables have a data type that determines what kind of values it can store, such as a date, number, file path or a workflow user name. For example, if you want to save the name of an employee in a variable, you have to create a variable of type Text. The workflow can then store a name of the employee, such as "John," in the variable. Configuration fields also have data types they accept. You can only add a variable of an accepted data type into a configuration field.

Data Type Description
Text Text string. This type of variable can be used to store information such as an employee name, email address, username, or any other string.
Boolean The value can be either True or False, Yes or No.
Date/Time Date and time value.
GUID Globally unique identifier, often used to reference a list item in SharePoint.
Number Integer number with decimal value.
Integer Integer number with no decimal value.
Choice
  • A value that requests a selection from a list of allowed values.
  • Person or Group
  • A value that requests a selection from a user lookup.
  • Hyperlink
  • A value that requests a hyperlink URL and description.
  • Dictionary
  • A container that holds a single logical unit of variables. For more information, see Dictionary variables.
  • Collection An index-based array of values, also known as an ordered list of values. For more information, see Collection variables.