How to Add Multiple Attachments to an Attachment Field in ServiceNow?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a week ago
Hi Community,
I have a requirement in ServiceNow where I need to add multiple attachments to a field of type Attachment.
I understand that one option could be to use custom fields or a custom solution, but in my case I need to use the standard attachment field type only because I can make it read-only and leverage the out-of-the-box attachment functionality.
Has anyone implemented a similar requirement? Is there a supported way to associate or display multiple attachments within an attachment field, or is there an alternative approach that still uses the standard attachment field type?
Any suggestions or best practices would be appreciated.
Thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a week ago - last edited a week ago
Hi @LokeshwarReddy ,
Unfortunately, this is not supported out-of-the-box.
The standard Attachment variable/field is designed to hold a single file only. If a user uploads another file to the same Attachment field, the previous file is replaced rather than appended.
Available Options
1. Use Multiple Attachment Variables
If you know the maximum number of files that users need to upload, create multiple Attachment variables (Attachment 1, Attachment 2, Attachment 3, etc.).
2. Use Native Record Attachments (Recommended)
Instead of an Attachment variable, enable the standard attachment paperclip functionality on the record or Catalog Item. This allows users to upload multiple files and leverages the platform's built-in attachment handling.
3. Build a Custom Solution
If the business requires a single field-like control that accepts multiple files, you would need a custom widget, UI Builder component, or custom attachment management solution. The files would still be stored in the sys_attachment table behind the scenes.
A single standard Attachment field cannot store multiple attachments. The recommended approach is to use the native attachment mechanism (paperclip) or multiple Attachment variables depending on the requirement.
Hope this helps!
Please mark this answer as Helpful if it resolves your question. 🙂
Thanks,
Yogesh Bhatt