The CreatorCon Call for Content is officially open! Get started here.

How to analyse Headers of email which we receive at servicenow mail box

Community Alums
Not applicable

Hi All,

 

I need to give when to run conditions for inbound actions..

I have a email which is coming to servicenow mailbox, Could some one help me how to analyse header of email. Like to give when to run conditions in inbound actions.

Below is the header of email.

 

=========

Return-Path:<proddata@aaadata01.xxx.com>
Delivered-To:<xxxdev@xxxdev.service-now.com>
Received:from bbb.iad0.service-now.com
by bbb.iad0.service-now.com (Dovecot) with LMTP id TWGWFYZYtFqhfgAAVjKaqw
for <xxxdev@xxxdev.service-now.com>;

 

-===========

Regards,

Roopa

5 REPLIES 5

Instead of that we can directly use in condition below script

 

if (email.origemail.indexOf('proddata@aaadata01.xxx.com')>-1)

 

 


Please mark this response as correct or helpful if it assisted you with your question.