In Studio, variables are used to store multiple types of data. Another key aspect of variables is that their value can change so that you can, for example, control how many times the body of a loop is executed.
Note: Variables need to be created with different names, even if used in different Scopes. You can check out our Workflow Design Naming Conventions recommendations.
From Studio's perspective, the variable's name is its unique ID and it defines the way it’s being displayed and used. If that changes or gets deleted, Studio is not able to interpret the .xaml
files based on the loaded activities.
The data stored within a variable is called a value, and it can be of multiple types. In UiPath, we support a large amount of types, ranging from generic value, text, number, data table, time and date, UiElements to any .Net variable type.
In Studio, all strings have to be placed between quotation marks.