Create and Update Variables

The variables you use in the Cloud Studio to build your automation are data storage that has a name, a type (example: string, list of string or data type), and a value. A variable in the automation is also associated to a step represented by its number.

Variables allow you to:
  • store content that can be reused inside the automation flow.

  • set or modify the content of a variable that contains value in the automation flow.

To view Data Management and Data Types activities, in the Automation information panel, go to the Tools section and click Data. The dropdown list displays:
  • The dropdown Data Management list where you can find all activities related to data management.

  • The dropdown Data Types list where you can find all data types.

Visual Representation of Data Type Variables

There are two types of data type variables:
  • Primitive data types

  • Complex data types

These primitive and complex data type variables allow you to model your data to define how the automation intends to use the data.

The different types of variables are described as follows:

Primitive data type: It can be a simple data such as a string, a number, and a boolean.

A variable of type "any" can provide any type of data such as a string, a number, a boolean, a complex subject and so on. A variable of type "any" allows you to get rid of the data validation.

Complex data type: You need to use complex data types for more complex data. A data type allows you to compose primitive types into a compound type representing your data structure. It contains several property fields which can be either primitive types defined that could be arranged in a hierarchy form, or other project’s data types. A data type enables you to organize and manage your data which can impact the access and modification efficiency. For more information on data types, see Data Types.

You can define a primitive or a complex data type as a list that represents a collection of those elements.