Class name | com.ebd.hub.datawizard.postexec.ReadVariableEncodingPostexecuter |
Description
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.
NOTE:
Checkbox "Append" in a response of type "File" has no effect if this postexecuter is used! See also ReadVariableEncodingAppendPostexecuter.
The output gets the encoding set in the Response.
Parameters
The name of the variable is expected as an additional 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>] |
Example:
Assume the variable var__OUTPUT with the content
This is a; nice sentence! |
The parameter of the postexecutor (specified in the "Config file" field, not in a separate file) is as follows.
NOTE: Please note that you specify the pure variable name here. The name of the variable does not have to be specified with surrounding "@" characters, as is the case elsewhere in the GUI.
var__OUTPUT,; |
The output of the postexecuter and therefore for the response is then
This is a nice sentence! |