How to do it…

  1. If there is e-mail integration between mailboxes by Exchange Server, then often admins face looping issues of e-mail, which creates many support tickets just with replies.

In such cases, you need to create a condition to not process these autoreply e-mails:

         
       if(email.from.indexOf("noreply@externalsystem.com") 
        >= 0 ||
           email.from.indexOf("salessuport@packt.com ") >=   
            0
               {
                event.state="stop_processing";
                }
  1. If your organization is using Service-Now for external communication purposes, then the instance e-mail address (that is, dev23216@service-now.com) will be exposed to the outer world. In many cases, external mailboxes (that is, sales@externalsystems.com) start sending e-mail to the direct Service-Now e-mail address, which creates ...

Get ServiceNow: Building Powerful Workflows now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.