Store and access an original source message
When Etlworks Integrator reads source data, for example, from a file or web service, it is possible to store the original message and then use it anywhere in the JavaScript code.
To store the original source message, enter the following code into the Preprocessor
field on the Format
page.
com.toolsverse.config.SystemConfig.instance().
getProperties().put("unique key", message);
value = message;
To access the original raw message from anywhere in the JavaScript code:
var message = com.toolsverse.config.
SystemConfig.instance().
getProperties().get("unique key");
Comments
0 comments
Please sign in to leave a comment.