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.


  1. Log in to the IBM RPA Studio.
  2. Create or open an script. It has the extension .wal.
  3. Click New variable button in the Edit ribbon on the Home tab.
  4. In the Name field, enter the variable name.
  5. In the Variable type field, select the variable type.
  6. Optional: In the Value field, enter the variable default value.
  7. Optional: Enable the Script Input Parameter parameter.
  8. Optional: Enable the Script Output Parameter parameter.
  9. 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.