- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2018 09:37 PM
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
Solved! Go to Solution.
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2018 10:22 PM
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>');

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2018 11:54 PM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2018 03:47 AM
Bhawana,
I have tried it ,still not working. Please help.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2018 03:54 AM
Saridha,
Please provide me the steps or the scripts to help you out.
Thanks.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2018 10:22 PM
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>');