Send Notification with PDF attachment

greenuser
Giga Contributor

Hi,

As per my requirement I want to send a notification with PDF attachment. That PDF will contain details of 'Demand' form, Its not an external file.

There is UI Action button on form, once clicked it should trigger a notification to client with current form details in PDF attachment.

Any suggestions how to achieve this.

Thanks in Advance

Regards

Arun Kumar

12 REPLIES 12

shloke04
Kilo Patron

Hi Arun,



This might be helpful for your requirement.



Generate PDF.png



Mark the answer as Correct/helpful based on impact.



Regards,


Shloke


Hope this helps. Please mark the answer as correct/helpful based on impact.

Regards,
Shloke

Hi Shloke,



Thanks for reply.


Your comment is really helpful.I'm having few queries,



window.location.href = '/incident.do?PDF&sys_id='+g_form.getUniqueValue()+'sysparm_view=Mobile'


Above URL will convert Incident form in PDF, but where it will get stored? How can I check where is this pdf file in my service now instance.


And my complete requirement is to send this pdf file attached with notification.



Can you please suggest how to achieve this.



Thanks in advance


Regards


Arun Kumar


prashantnagaral
Kilo Guru

Hi Arun,



Check in attachments(sys_attachment) table to find the PDF file.



Mark it answered, helpful if above information answer your query.



Thanks


Prashant