I want to restrict file types to be attached, and want to attach only CSV file type, can anyone please suggest me, how could we do that?

chalanbl
Kilo Expert

I want to restrict file types to be attached, and want to attach only CSV file type, can anyone please suggest me, how could we do that?

Note : Trying this in my personal instance first.

2 REPLIES 2

VaranAwesomenow
Mega Sage

how are the files attached, is it via email or any of the tables directly. Based on that a business rule can be created on the sys_attachment table to prevent the insertion of the record.



Hope that makes sense,


Abhishek Raj3
Tera Guru

HI Chalan,



Based on extension also you can exlude the attachment in servicenow.


I hope this link will help you.



Restrict file extensions




Thanks,


Abhishek