Scope Variables
In addition to the standard global scope variables, the following are available from within the JavaScript attachment handler script:
- message: This is the raw inbound message string. If the data was passed in as a raw byte array, this variable will be the Base64 encoded string representation of the data.
- binary: This is a boolean that indicates whether the inbound data was passed in as a raw byte array.
- sourceMap: You have access to any variables in the source map. For additional information, see Variable Maps.