Calculated Variables in a Web Service Response Message

Use

In addition to the variables that you assign to the fields of a response message, you can define calculated variables in the lower screen area of the Response Message Configuration tab. With calculated variables, you can convert response variables using expressions, add additional information to them, or convert them into another data type.

Calculated variables are available as additional response variables in variable assignment of enhanced notification processing. (See: Assignment of Modules and Variables (ENP).)

Example

Examples of use cases of calculated variables are:

  • Conversion of the value of a response variable into another unit

  • Character string operations to continue processing a substring of a response variable or to append additional information to a character string.

  • Conversion of the data type of a response variable to be able to assign the variable value to a source system tag with a predefined data type.

  • Case-dependent values: If, for example, the value of a response variable is smaller than 0, 0 needs to be written to the tag of the data source; otherwise, the unchanged value.