How many files can I attached (and how to set limit?)

Daiki Ishizaki1
Tera Contributor

Please let me know how many files can I attached?

table : Incident , problem , change_request ..etc

If you have way to change the attachment limit setting, please let me know. 
find_real_file.png

4 REPLIES 4

Khushbu Chhapar
Kilo Guru

As per my knowledge, there is no limit on number of attachment that can be done on a form.

Thought we can set limit on number of attachment that can be send in an Email. (through property : glide.email.outbound.max_attachment_count)

To limit the attachment on Incident/Change/Problem, you can write a before insert/update business rule on these table. Which will check the number of entry in attachment(sys_attachment) table for that Record.

If it exceeds limit, delete the additional added attachment.

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

there is no limit as such but there is restriction on maximum size of attachment

system property in mega bytes -> com.glide.attachment.max_size

Mark Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Ankur Bawiskar
Tera Patron
Tera Patron

I am glad to hear the comment has helped.
Please consider marking answer 👍Helpful and Correct.
Have a great rest of the day

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

DirkRedeker
Mega Sage

Hi

You could implement a "Before INsert" BR on the Attachment table and check, how many records are already attached to the current record. If there are already more than (let's say) five Attachments on the current record, cancel the (INSERT) OPeration.

This should help to prevent inserting too many attachments.

Let me know if that worked for you and mark my answer as correct/helpful.

BR

Dirk