Use Stop processing in Inbound Email Flows Dynamically using scripts

Harishanker Tr1
Giga Contributor

We can use  event.state="stop_processing" in scripts of inbound actions to stop execution of any other inbound action on email received. Is it possible to use the same in Inbound Email Flows or any other alternative?

https://docs.servicenow.com/bundle/paris-servicenow-platform/page/administer/notification/reference/...

6 REPLIES 6

Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Hi Harishanker - You need to add a system property "glide.hub.flow.inbound_email_trigger.show_advanced" to enable that option. Details here.

https://docs.servicenow.com/bundle/paris-servicenow-platform/page/administer/notification/task/deact...

Hello Pradeep,

Thanks for your answer however I'm looking for something else

We can use event.state="stop_processing" in the Inbound action script to stop the execution of any other inbound action on the same email. It's an alternative to stop processing checkbox, and we can use it in scripts on complex conditions.

I'm looking something like that in the inbound email flows we have stop processing checkbox there but I'm not sure how we can use this feature in scripts of flow.

 

find_real_file.png

https://docs.servicenow.com/bundle/paris-servicenow-platform/page/administer/notification/reference/r_OrderedEmailProcessingPlugin.html

Did you ever figure this out?    We have a similar need

This continues to be an issue... does anybody have an idea?