ReadVariablePostexecuter

Prev Next

Class name

com.ebd.hub.datawizard.postexec.ReadVariablePostexecuter

Description

This postexecuter is deprecated.

This postexecuter reads the data for the Response from a variable. The selected value for the Response field "Content" is ignored.

For this purpose, the data must be stored in a string variable (in the mapping, in the default value of the variable or by a preceding profile).

The output is normally a single line, but you can specify a line break character when calling the postexecuter (e.g. a semicolon ;). See example below.

Parameters

The name of the variable is expected as a parameter of the postexecuter. Optionally, separated by a comma, the line break character can be set behind it. The comma itself is not allowed as a line break character.

<VARNAME>[, <lineBreakCharacter>]

Note: Independent of the encoding set in the Response, t he output will always get the encoding "UTF8". If a line break results in an empty line, the empty line is removed.

Example

Assume the variable var__OUTPUT with the content

This is a; nice sentence!

The parameter of the postexecuter is

var__OUTPUT,;

The output of the postexecuter and therefore for the Response is then

This is a
 nice sentence!