Multiple reports in Single email?

instance
Tera Contributor

I have Created 3 reports.(Report A,ReportB,reportC).

 

 

and i have Written 3 different email script ( script a,b,c)to show the Result in the Table method .

 

How can i send these 3 different reports in the single email?

 

can you suggest me with your ideas.?

15 REPLIES 15

Laszlo Balla
ServiceNow Employee
ServiceNow Employee

You can call multiple Notification Email Script in the body of your notification record by using

${mail_script:script name}

@Laszlo Balla 

${mail_script:Script1}

${mail_script:Script2}

${mail_script:Script3}

if i add like this multiple script it is not working

 

 

Sagar Pagar
Tera Patron

Hi @instance ,

 

1) Event registry - Create a new event in event registry.

2) Email scripts - You have to take all reports in table format in email scripts. (scripts a, b, c).

3) Notification - Create a new notification and and call the email scripts in it for reports in table format.

4) Scheduled job scripts - Create a scheduled job scripts that will fired the event using gs.eventQueue() method in scheduled job scripts.

 

Thanks,
Sagar Pagar

The world works with ServiceNow

Ankur Bawiskar
Tera Patron
Tera Patron

@instance  

why not do this

1) single email will have only 1 email script and in that email script you write 3 logics to print data from those 3 individual reports

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader