<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Show attachment as link in Incident Resolution email notification in Community Central forum</title>
    <link>https://www.servicenow.com/community/community-central-forum/show-attachment-as-link-in-incident-resolution-email/m-p/3599541#M7924</link>
    <description>&lt;P&gt;Is ServiceNow NOT allows to show incident attachment as a link in email notification.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is yes, please provide short step or guidelines on this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="gauravsp_1-1789707192335.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/529863i64970CEF0304B5AD/image-size/medium?v=v2&amp;amp;px=400" alt="gauravsp_1-1789707192335.png" title="gauravsp_1-1789707192335.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Highlighted text should show link to attachment.&lt;/P&gt;</description>
    <pubDate>Fri, 18 Sep 2026 04:53:44 GMT</pubDate>
    <dc:creator>gauravsp</dc:creator>
    <dc:date>2026-09-18T04:53:44Z</dc:date>
    <item>
      <title>Show attachment as link in Incident Resolution email notification</title>
      <link>https://www.servicenow.com/community/community-central-forum/show-attachment-as-link-in-incident-resolution-email/m-p/3599541#M7924</link>
      <description>&lt;P&gt;Is ServiceNow NOT allows to show incident attachment as a link in email notification.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is yes, please provide short step or guidelines on this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="gauravsp_1-1789707192335.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/529863i64970CEF0304B5AD/image-size/medium?v=v2&amp;amp;px=400" alt="gauravsp_1-1789707192335.png" title="gauravsp_1-1789707192335.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Highlighted text should show link to attachment.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Sep 2026 04:53:44 GMT</pubDate>
      <guid>https://www.servicenow.com/community/community-central-forum/show-attachment-as-link-in-incident-resolution-email/m-p/3599541#M7924</guid>
      <dc:creator>gauravsp</dc:creator>
      <dc:date>2026-09-18T04:53:44Z</dc:date>
    </item>
    <item>
      <title>Re: Show attachment as link in Incident Resolution email notification</title>
      <link>https://www.servicenow.com/community/community-central-forum/show-attachment-as-link-in-incident-resolution-email/m-p/3599650#M7925</link>
      <description>&lt;P class=""&gt;Hi &lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/1142747"&gt;@gauravsp&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Yes, ServiceNow allows you to show an &lt;STRONG&gt;Incident attachment as a clickable link&lt;/STRONG&gt; in an email notification.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I tested this approach in my instance using a &lt;STRONG&gt;Notification Email Script&lt;/STRONG&gt; that queries the sys_attachment table for attachments belonging to the current Incident and generates a clickable attachment URL.&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Notification Email Script:&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;(function runMailScript(current, template, email, email_action, event) {

    var attachment = new GlideRecord('sys_attachment');

    attachment.addQuery('table_name', current.getTableName());
    attachment.addQuery('table_sys_id', current.getUniqueValue());
    attachment.query();

    while (attachment.next()) {

        var attachmentUrl =
            gs.getProperty('glide.servlet.uri') +
            'sys_attachment.do?sys_id=' +
            attachment.getUniqueValue();

        template.print(
            '&amp;lt;div style="margin-top:5px;"&amp;gt;' +
            '&amp;lt;strong&amp;gt;Attachment:&amp;lt;/strong&amp;gt; ' +
            '&amp;lt;a href="' + attachmentUrl + '"&amp;gt;' +
            attachment.getValue('file_name') +
            '&amp;lt;/a&amp;gt;' +
            '&amp;lt;/div&amp;gt;'
        );
    }

})(current, template, email, email_action, event);&lt;/LI-CODE&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;Notification&lt;/STRONG&gt;:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;Hello ${caller_id.first_name},

Your incident has been solved.

${number}

Solution notes:
${close_notes}

${mail_script:Show Incident Attachment Links}

It will be automatically closed in 5 business days.

If the solution does not resolve your issue, you may reopen the incident.

Thank you,
Helpdesk&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;H3&gt;steps:&lt;/H3&gt;&lt;OL&gt;&lt;LI&gt;Create a &lt;STRONG&gt;Notification Email Script&lt;/STRONG&gt;.&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Call the Mail Script from the notification using:&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;PRE&gt;&lt;SPAN&gt;${mail_script:Show Incident Attachment Links}&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;LI&gt;Keep &lt;STRONG&gt;Include attachments&lt;/STRONG&gt; unchecked if you only want the clickable link rather than the file attached to the email.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pr8172510_0-1789721129941.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/529896iA4FAC0615FC7DE45/image-size/medium?v=v2&amp;amp;px=400" alt="pr8172510_0-1789721129941.png" title="pr8172510_0-1789721129941.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pr8172510_1-1789721159468.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/529897i2B43BFF43463C380/image-size/medium?v=v2&amp;amp;px=400" alt="pr8172510_1-1789721159468.png" title="pr8172510_1-1789721159468.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pr8172510_2-1789721191906.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/529898i4274583108AD4F55/image-size/medium?v=v2&amp;amp;px=400" alt="pr8172510_2-1789721191906.png" title="pr8172510_2-1789721191906.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Sep 2026 08:47:00 GMT</pubDate>
      <guid>https://www.servicenow.com/community/community-central-forum/show-attachment-as-link-in-incident-resolution-email/m-p/3599650#M7925</guid>
      <dc:creator>pr8172510</dc:creator>
      <dc:date>2026-09-18T08:47:00Z</dc:date>
    </item>
    <item>
      <title>Re: Show attachment as link in Incident Resolution email notification</title>
      <link>https://www.servicenow.com/community/community-central-forum/show-attachment-as-link-in-incident-resolution-email/m-p/3599657#M7926</link>
      <description>&lt;P&gt;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/1142747"&gt;@gauravsp&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if the notification doesn't have that, you can include your custom logic and links using Email script&lt;/P&gt;
&lt;P&gt;what did you start with and where are you stuck?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":light_bulb:"&gt;💡&lt;/span&gt; If my response helped, please mark it as correct &lt;span class="lia-unicode-emoji" title=":white_heavy_check_mark:"&gt;✅&lt;/span&gt; and close the thread &lt;span class="lia-unicode-emoji" title=":locked:"&gt;🔒&lt;/span&gt;— this helps future readers find the solution faster! &lt;span class="lia-unicode-emoji" title=":folded_hands:"&gt;🙏&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Sep 2026 08:56:45 GMT</pubDate>
      <guid>https://www.servicenow.com/community/community-central-forum/show-attachment-as-link-in-incident-resolution-email/m-p/3599657#M7926</guid>
      <dc:creator>Ankur Bawiskar</dc:creator>
      <dc:date>2026-09-18T08:56:45Z</dc:date>
    </item>
  </channel>
</rss>

