Integration

Identify message script

Variable Type Description
log Object Object containing several functions that can be used for logging. info, warn, error and debug.
error String The error message to return from the script. Alternatively you can simply throw a string or Error and the system will take care of it.
payload Any The payload string or object. Pre-processing can be configued on the Integration to automatically convert JSON to Object or XML to XMLDocument2.
headers Object An object containing the request headers.

Add note script

Variable Type Description
log Object Object containing several functions that can be used for logging. info, warn, error and debug.
error String The error message to return from the script. Alternatively you can simply throw a string or Error and the system will take care of it.
payload Any The payload string or object. Pre-processing can be configued on the Integration to automatically convert JSON to Object or XML to XMLDocument2.
headers Object An object containing the request headers.

Connection

Endpoint URL

The Endpoint URL will be combined with the Path value on the Message.

Variable Type Description
log Object Object containing several functions that can be used for logging. info, warn, error and debug.
error String The error message to return from the script. Alternatively you can simply throw a string or Error and the system will take care of it.
message GlideRecord The record of the Message being used.
stage GlideRecord The record of the Stage [x_snd_eb_stage] being used. The actual table will differ between Processes.
transaction GlideRecord The record of the Transaction [x_snd_eb_transaction] being used.
bond Bond The record of the Bond [x_snd_eb_bond] being used.
scratchpad Object An object that can be used to pass variables between scripts.

Message

XML Template

Variable Type Description
log Object Object containing several functions that can be used for logging. info, warn, error and debug.
error String The error message to return from the script. Alternatively you can simply throw a string or Error and the system will take care of it.
message GlideRecord The record of the Message being used.
stage GlideRecord The record of the Stage [x_snd_eb_stage] being used. The actual table will differ between Processes.
transaction GlideRecord The record of the Transaction [x_snd_eb_transaction] being used.
bond Bond The record of the Bond [x_snd_eb_bond] being used.
scratchpad Object An object that can be used to pass variables between scripts.

Path

The Path will be combined with the Endpoint URL value on the active connection.

Variable Type Description
log Object Object containing several functions that can be used for logging. info, warn, error and debug.
error String The error message to return from the script. Alternatively you can simply throw a string or Error and the system will take care of it.
message GlideRecord The record of the Message being used.
stage GlideRecord The record of the Stage [x_snd_eb_stage] being used. The actual table will differ between Processes.
transaction GlideRecord The record of the Transaction [x_snd_eb_transaction] being used.
bond Bond The record of the Bond [x_snd_eb_bond] being used.
scratchpad Object An object that can be used to pass variables between scripts.

Outbound condition

Variable Type Description
log Object Object containing several functions that can be used for logging. info, warn, error and debug.
error String The error message to return from the script. Alternatively you can simply throw a string or Error and the system will take care of it.
message GlideRecord The record of the Message being used.

Reference lookup script

Variable Type Description
log Object Object containing several functions that can be used for logging. info, warn, error and debug.
error String The error message to return from the script. Alternatively you can simply throw a string or Error and the system will take care of it.
answer Any The result of the script being called.
message GlideRecord The record of the Message being used.
request GlideRecord The record of the HTTP Request [x_snd_eb_http_request] being used.
payload Any The payload string or object. Pre-processing can be configued on the Integration to automatically convert JSON to Object or XML to XMLDocument2.

Extract attachments script

Variable Type Description
log Object Object containing several functions that can be used for logging. info, warn, error and debug.
error String The error message to return from the script. Alternatively you can simply throw a string or Error and the system will take care of it.
message GlideRecord The record of the Message being used.
request GlideRecord The record of the HTTP Request [x_snd_eb_http_request] being used.
payload Any The payload string or object. Pre-processing can be configued on the Integration to automatically convert JSON to Object or XML to XMLDocument2.

Message Script

Source to Stage (Outbound)

Variable Type Description
log Object Object containing several functions that can be used for logging. info, warn, error and debug.
error String The error message to return from the script. Alternatively you can simply throw a string or Error and the system will take care of it.
message GlideRecord The record of the Message being used.
stage GlideRecord The record of the Stage [x_snd_eb_stage] being used. The actual table will differ between Processes.
transaction GlideRecord The record of the Transaction [x_snd_eb_transaction] being used.
bond Bond The record of the Bond [x_snd_eb_bond] being used.
source GlideRecord The record that is being integrated.

Stage to Request (Outbound)

Variable Type Description
log Object Object containing several functions that can be used for logging. info, warn, error and debug.
error String The error message to return from the script. Alternatively you can simply throw a string or Error and the system will take care of it.
message GlideRecord The record of the Message being used.
stage GlideRecord The record of the Stage [x_snd_eb_stage] being used. The actual table will differ between Processes.
transaction GlideRecord The record of the Transaction [x_snd_eb_transaction] being used.
bond Bond The record of the Bond [x_snd_eb_bond] being used.
scratchpad Object An object that can be used to pass variables between scripts.

Payload to Stage (Inbound)

Variable Type Description
log Object Object containing several functions that can be used for logging. info, warn, error and debug.
error String The error message to return from the script. Alternatively you can simply throw a string or Error and the system will take care of it.
message GlideRecord The record of the Message being used.
stage GlideRecord The record of the Stage [x_snd_eb_stage] being used. The actual table will differ between Processes.
transaction GlideRecord The record of the Transaction [x_snd_eb_transaction] being used.
payload Any The payload string or object. Pre-processing can be configued on the Integration to automatically convert JSON to Object or XML to XMLDocument2.

Stage to Target (Inbound)

Variable Type Description
log Object Object containing several functions that can be used for logging. info, warn, error and debug.
error String The error message to return from the script. Alternatively you can simply throw a string or Error and the system will take care of it.
message GlideRecord The record of the Message being used.
stage GlideRecord The record of the Stage [x_snd_eb_stage] being used. The actual table will differ between Processes.
transaction GlideRecord The record of the Transaction [x_snd_eb_transaction] being used.
bond Bond The record of the Bond [x_snd_eb_bond] being used.
target GlideRecord The record that is being integration.