Variables
Variables are strongly typed, and the IBM RPA Studio guarantees that every variable has an appropriate type. IBM RPA script language doesn't have the definition of constants. In this case, use variables without changing their values during the script runtime.
You can use variables to provide input values or to receive output values. Variables' values can be changed by an assignment, using increment and decrement operations, or during the script runtime.
Variables have global scope in the IBM RPA script language. They always go at the beginning of the script, and they are available and accessible in other subroutines or rules set, no matter if the variables are in the main subroutine.
Notice the variables' name is case insensitive.
-
Variable types
Variables are strongly typed. Learn more about the variable types available. -
Environment variables
Environment variables are variables present in all scripts, they store information regarding the script itself and its runtime.
-
Creating variables using Designer mode
Learn how to create variables in the script using the Designer development view. -
Creating variables using Script mode
Learn how to create variables in the script using the Script development view. -
Assigning values to variables using Designer mode
Learn how assigns values to variables in the script using the Designer development view. -
Assigning values to variables using Script mode
Learn how assigns values to variables in the script using the Script development view. -
Using variable properties
Learn how to get and use properties from the variables of your script.