SAP Help Home SAP Intelligent RPA Help Portal SAP Intelligent RPA Community

Module - Variable Management

Collection of activities to create or update variables.

Activities

Create Variable

Create a variable according to a type.


Technical Name Type Minimal Agent Version
create synchronous WIN-3.24, MAC-3.24, CLOUD-3.34

Input Parameters:

Name Type Attributes Default Description
type any mandatory Type of the variable. e.g. string, number, password, any...
value any optional Value of the variable. If not provided, a default value will be set.

Output Parameters:

Name Type Description
myVariable any The created variable.


Create Variable List

Create a list of variables according to a type.


Technical Name Type Minimal Agent Version
createList synchronous WIN-3.24, MAC-3.24, CLOUD-3.34

Input Parameters:

Name Type Attributes Default Description
type any mandatory Type of the variable. e.g. string, number, password, any...
listValues any optional Values of the list.

Output Parameters:

Name Type Description
myVariableList Array. The created list variable.


Set Variable Value

Update the value or a reference of a variable.


Technical Name Type Minimal Agent Version
set synchronous WIN-3.24, MAC-3.24, CLOUD-3.34

Input Parameters:

Name Type Attributes Default Description
variable any mandatory Variable to update.
value any mandatory New value or reference on object.
mergeProperties boolean optional true If variable and value are objects or data types, you can choose to replace "variable" with "value" or merge their properties into "variable".

Output Parameters:

Name Type Description
value any The value is only returned for the variables which are not data types.