Get a first look at what's coming. The Developer Passport Australia Release Preview kicks off March 12. Dive in! 

Avoid attachments less than 10kb to get attached to incidents received via reply email to servicenow

Debasis Pati
Kilo Sage

Hello Everyone,
When servicenow receives emails as reply we have a inbound email action it by default oob attaches the attachments to the target incident/record .
Now we wanted to avoid less than 10kb files to get attached to the target record.
for images to avoid less than 10kb we have oob property "glide.email.inbound.image_sys_attachment.filter.minimum_bytes" but what about other file types how we can avoid that what ever attachments are coming in emails?

@Ankur Bawiskar any suggestions?

Regards,
Debasis

1 ACCEPTED SOLUTION

@Debasis Pati 

yes you can try to use that

Did the approach I shared using BR on sys_journal_field work for you?

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

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

View solution in original post

21 REPLIES 21

@Debasis Pati 

which other approach are you saying?

after insert BR on which table?

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

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

Hello @Ankur Bawiskar 
On "sys_email_attachment" table..

@Debasis Pati 

but in the BR of sys_attachment how would you know the file is attached by inbound action or from an agent from UI?

I believe you should use the other approach I shared which is BR on sys_journal_field

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

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

Hello @Ankur Bawiskar ,
it's "sys_email_attachment" table  not "sys_attachment" table in the Email attachment table there is a "source" field we can use that .
please correct if i am wrong.

@Debasis Pati 

yes you can try to use that

Did the approach I shared using BR on sys_journal_field work for you?

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

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