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

Maulik Akut
Tera Contributor

I tried doing this for my scoped application but the method you said is a static one and need to been done manually each time which is not feasible for end user. Could you tell any dynamic method for attaching pdf to email notification which gets auto populated in the email.