Quantcast
Channel: ServiceNow Community - Development & Integration
Viewing all articles
Browse latest Browse all 423

Embedding a dynamic table into an email notification

$
0
0

Hi,
I am looking to send out a notification that would include data from a recordset. So, in short, I need to have a mail script dynamically create a table and populate that table with the data in the recordset. Here is what I have tried but there is no output.

This script is just a test to see if I can produce a small table with a small set of information.

// get the reference for the body
var body = document.getElementsByTagName("body")[0];

// creates a element and a element
var tbl = document.createElement("table");

read more


Viewing all articles
Browse latest Browse all 423

Trending Articles