How to block Inbound Emails based on Subject

Surya_Prakash
Tera Contributor

Hi All,

 

I have a requirement to block the Inbound emails to particular Group, based on the keywords in Subject. This is for reducing the email traffic for the Group. Is there any possible way to restrict the emails based on keywords in the email Subject.

 

Thanks,

Surya. P

3 REPLIES 3

Ankur Bawiskar
Tera Patron
Tera Patron

@Surya_Prakash 

you can use the condition field to ensure it triggers when the subject doesn't contain some keywords

AnkurBawiskar_0-1683619840367.png

check any existing OOB one and you should be able to handle your case

AnkurBawiskar_1-1683619892573.png

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

Surya_Prakash
Tera Contributor

Hi @Ankur Bawiskar,

 

Thanks for the reply. I checked the OOB Inbound Email Actions and couldn't find anything for restricting the emails. Will the code "event.state = 'stop_processing';" will stop receiving mails based on the condition, or is there any other way to restrict the Inbound emails?

 

Surya_Prakash_1-1683628903839.png

 

 

Surya_Prakash_0-1683628827376.png

 

Thanks,

Surya. P

@Surya_Prakash 

emails will come but they won't be processed if you use that line

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