Skip to page contentSkip to chat
ServiceNow support
    • Community
      Ask questions, give advice, and connect with fellow ServiceNow professionals.
      Developer
      Build, test, and deploy applications
      Documentation
      Find detailed information about ServiceNow products, apps, features, and releases.
      Impact
      Accelerate ROI and amplify your expertise.
      Learning
      Build skills with instructor-led and online training.
      Partner
      Grow your business with promotions, news, and marketing tools
      ServiceNow
      Learn about ServiceNow products & solutions.
      Store
      Download certified apps and integrations that complement ServiceNow.
      Support
      Manage your instances, access self-help, and get technical support.
On the Email client, attachments added by scripts cannot be removed by the Manage Attachment option - Known Error
  • >
  • Knowledge Base
  • >
  • Known Error (Knowledge Base)
  • >
  • On the Email client, attachments added by scripts cannot be removed by the Manage Attachment option
KB0679912

On the Email client, attachments added by scripts cannot be removed by the Manage Attachment option


2391 Views Last updated : Apr 7, 2024 public Copy Permalink
KB Summary by Now Assist

Description

When attaching a file to an Email quick message using scripts (for example, the GlideSysAttachment.copy method), you cannot remove the attachment.

Steps to Reproduce

  1. Add an attachment to an incident.

  2. Create a business rule on sys_email table that contains the following code that runs before insert:

    GlideSysAttachment.copy('incident', 'd71f7935c0a8016700802b64c67c11c6', 'sys_email', current.sys_id);

  3. Open a non-closed incident and open the Email client.

    Note that the Email Client shows a file attached because of the script.

  4. Click Manage Attachments or the Attachments (paperclip) icon and remove the attached file.

    Note that the attached file is not removed from the Quick Message form and it will be emailed.

Workaround

Instead of using a script to add attachments to sent emails, use the Manage Attachments options on the Email client.


Related Problem: PRB1245823

The world works with ServiceNow.

Sign in for more! There's more content available only to authenticated users Sign in for more!
Did this KB article help you?
Did this KB article help you?

How would you rate your Now Support digital experience?

*

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

What can we improve? Please select all that apply.

What are we doing well? Please select all that apply.

Tell us more

*

Do you expect a response from this feedback?

  • Terms and conditions
  • Privacy statement
  • GDPR
  • Cookie policy
  • © 2025 ServiceNow. All rights reserved.