how to send a static pdf attachment in notification

Nag9
Tera Expert

i have a pdf attachment, want to send that attachment in notification

created notification in workflow

 

how can we achieve this

1 ACCEPTED SOLUTION

Jaspal Singh
Mega Patron
Mega Patron

Hi,

 

Do below steps.

1. Upload attachment in sys_attachment table.

2. Create a mail script: add_attachments with below script

 template.print ( 'PDF attachment: <a href="sys_attachment.do?sys_id=sys_id_of_the _attachment">Attachment name </a>' ) ;

3. Call the mail script in the body of notification as below.

${mail_script:add_attachments}

 

Thanks,

Jaspal Singh

View solution in original post

5 REPLIES 5

Jaspal Singh
Mega Patron
Mega Patron

Hi,

 

Do below steps.

1. Upload attachment in sys_attachment table.

2. Create a mail script: add_attachments with below script

 template.print ( 'PDF attachment: <a href="sys_attachment.do?sys_id=sys_id_of_the _attachment">Attachment name </a>' ) ;

3. Call the mail script in the body of notification as below.

${mail_script:add_attachments}

 

Thanks,

Jaspal Singh

Namrata Khabale
Giga Guru

Hey,

Refer the Links it might help you:

https://community.servicenow.com/community?id=community_question&sys_id=cc8d032ddb9cdbc01dcaf3231f96...

 

https://docs.servicenow.com/bundle/orlando-servicenow-platform/page/administer/notification/concept/...

 

Kindly Mark Correct if this solves your issue and also mark  Helpful if you find my response worthy!

 

 

Best Regards,

Namrata

Anil Shewale
Mega Guru

Hi Nag

following blog help you to attached the pdf step by step .it help you

https://community.servicenow.com/community?id=community_blog&sys_id=651deea5dbd0dbc01dcaf3231f96196e

 

If it help mark helpful or correct 

Thanks and regards

Anil

 

asifnoor
Kilo Patron

Hi,

upload the document in sys_attachments and then call that in your notification.

Check attach_link OOB mail script, that shall give you some information.

Kindly mark the comment as a correct answer and helpful if it helps to solve your problem.

Regards,
Asif
2020 ServiceNow Community MVP