How to send a PDF documents in an email notification

Saridha_L1
Tera Expert

Hi Team, 

Can anyone help me on this, I have followed this document 'Sending Documents in an Email Notification', I could not see the attachment in notification.

Please help.

Regards,

Saridha.L

 
1 ACCEPTED SOLUTION

Shishir Srivast
Mega Sage

I am not sure on PDF but if you want to send the link of knowledge base (that may have instruction) in an email then you can use the email script to form the link for that knowledge base in email. something like below in your email script should help.

 

template.print('<a href="' + gs.getProperty("glide.servlet.uri") + "" + 'nav_to.do?uri=kb_view.do?sys_kb_id=PASS THE SYS_ID HERE' + '">' + 'Installation guide' + '</a>');

View solution in original post

8 REPLIES 8

Saridha,

You didn't call the event queue in your script.

Example:

gs.eventQueue('event_name', current, param1, param2);

or Notification Activities - ServiceNow Wiki

 

Thanks.

Bhawana,

 

I have tried it ,still not working. Please help.

Saridha,

Please provide me the steps or the scripts to help you out.

 Thanks.

Shishir Srivast
Mega Sage

I am not sure on PDF but if you want to send the link of knowledge base (that may have instruction) in an email then you can use the email script to form the link for that knowledge base in email. something like below in your email script should help.

 

template.print('<a href="' + gs.getProperty("glide.servlet.uri") + "" + 'nav_to.do?uri=kb_view.do?sys_kb_id=PASS THE SYS_ID HERE' + '">' + 'Installation guide' + '</a>');