Creating variables using Designer mode
Create variables in the script using the Designer development view.
Before you begin
Use variables to provide input values or to receive output values. You might create these variables using the Designer development view. Designer development view is the interface in IBM RPA Studio where you can develop your bot using interface elements. See more details in Designer mode.
Procedure
- Log in to the IBM RPA Studio.
- Create or open an script. It has the extension
.wal
. - Click New variable button in the Edit ribbon on the Home tab.
- In the Name field, enter the variable name.
- In the Variable type field, select the variable type.
- Optional: In the Value field, enter the variable default value.
- Optional: Enable the Script Input Parameter parameter.
- Optional: Enable the Script Output Parameter parameter.
- Optional: Enable the Required parameter.
What to do next
You can change the default values of variables while the script runs. Default values are assigned to variables when you create them without value. In most cases, simple and object variable types initialize with the value null
. You
can see the exceptions in Default values of variables.
To assign values for variables in your script, see Assigning values to variables using Designer mode for instructions.