ReadVariablesDataProvider

Learn about the External Data Providers - ReadVariablesDataProvider.

The ReadVariablesDataProvider reads the values of variables defined in the Z5 info area. For further details, see Variables.

The ReadRecordDataProvider action template supports the following input argument:

names (mandatory)

The (comma-separated) list of Z5 variables to be read.

A data provider using the ReadVariablesDataProvider action returns the corresponding Z6 variable values as a Javascript object containing a single property called values. The values are output in the same order as the requested names.

Use the following syntax to access the values:

$.values[0].value

Gets the value of the first requested variable.

$.values[1].catNo

Gets the catalog number of the second requested variable.

$.values[2].catNumericValue

Gets the numeric catalog value (i.e. the catalog code) of the third requested variable.