Issue Sending Attachments with Publications

Su522
Kilo Sage

When sending Publications created with Targeted Communication, with attachments to Clients, our clients are experiencing an issue with opening any of the attachments- it prompts them to log into ServiceNow.

These Clients are "Contacts" that do not have access to log into our ServiceNow system. 

 

We've reviewed the Community post "Attachments in notifications" at:

https://www.servicenow.com/community/now-platform-forum/attachments-in-notifications/m-p/1243477/pag...

 

and created a Before Insert Business Rule (see attached) with this script:

(function executeRule(current, previous /*null when async*/ ) {

    var strTemp = '';
    var attachment = new GlideRecord('sysevent_email_action');

    while (attachment.next()) {

        strTemp = attachment.sys_id.toString();

// copy the found attachment to the new data source above.
        GlideSysAttachment.copy('sysevent_email_action', strTemp, 'sys_email', current.sys_id);

        gs.log('Copy of attcahments for ' + strTemp);

    }

})(current, previous);

 

 

However this solution is Not working. Our Clients still can Not open the attachments, they are being prompted to log into ServiceNow. 

Can someone please help?

We need our clients (Contacts) to be able to open the attachments from a Publication communication without being prompted to log into ServiceNow.

How can we accomplish this?

Help is greatly appreciated!!!

Thank you,

Su

1 REPLY 1

Su522
Kilo Sage

Any thoughts or help on this?

Help is much appreciated

Thank you