What is the use of Stop Processing in Inbound Action

shiprashaw
Kilo Contributor

Hi All,

I have an inbound action which on reply on a mail logs the reply mail's body in the Activity log of Problem record.

The inbound action is working fine but just need to know what is the use of 'Stop Processing' check box. Currently i have kept it unchecked.

Why and when do we need to check it?

Kindly suggest!!

Thanks in advance.

2 REPLIES 2

Michael Fry1
Kilo Patron

When an email is receive, all Inbound actions process according to order. Select Stop Process option to stop processing after this inbound email action runs.



I usually use it when I receive an email with a specific subject that I don't want to process.


Venkanna G
Tera Contributor

You can stop processing an inbound action using a script.

Use case: Customer has a requirement that when an email is sent to ServiceNow from a particular email address, no case should be created if the Subject contains text 'xxxx. This is an automated report.'

Solution: You can create a new inbound action on the same table with conditions as per the subject line and other customer requirements. Make sure this inbound action runs before other inbound actions on the same table by changing the order.

In the script section, simply write below line.

event.state = "stop_processing";