ReadVariableEncodingPostexecuter
Configuration file |
None. Configuration is done directly with a string in field Config file. |
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.
Note:
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!