The CreatorCon Call for Content is officially open! Get started here.

Images inserted into Notifications sometimes does not show in the email

miles9
Tera Expert

Hi all, 

 

Has anyone experienced an issue where they have setup a notification that includes images that were inserted/sourced from the image library in ServiceNow and some of the images don't render in the email but others do?

 

Is this an issue with a mail script or something?  

 

Currently, we have a notification that has about 56 images and many of the images don't render in the email.  

 

The weird part is if we re-do the links/source to the same image the images do render.

 

The other thing we are working on is just generating the notification with PDF attachments which is working but we are still testing and waiting for our approval process to promote this to production.

 

Thank you

1 ACCEPTED SOLUTION

Allen Andreas
Administrator
Administrator

Hi,

That's quite a number of images. Normally, the main support for images, etc. is from the attachment being used which merely references the attachment of the "triggering" record. You can work to add in images more formally by following something like what I've written about in a past article: https://www.servicenow.com/community/developer-articles/embedding-image-attachments-in-the-body-of-n...


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

View solution in original post

2 REPLIES 2

Allen Andreas
Administrator
Administrator

Hi,

That's quite a number of images. Normally, the main support for images, etc. is from the attachment being used which merely references the attachment of the "triggering" record. You can work to add in images more formally by following something like what I've written about in a past article: https://www.servicenow.com/community/developer-articles/embedding-image-attachments-in-the-body-of-n...


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

Hi Allen,

 

Thank you for the reply.  Apologies, I did not include this in the initial post but I did try a mail script with template.print.  the issue there is some images would break.  

 

With your reply though I think I have enough justification to utilize my pdf attachment notification version.