CC'd e-mails

GUPE
Kilo Explorer

Hi,

Me again, does anyone know how we stop calls being logged where ServiceNOW has been CC'd in to the e-mail?

4 REPLIES 4

GUPE
Kilo Explorer

I am guessing I would need a inbound action stating not to log any calls that are CC'd.   If anyone has the script I can have that would be most helpful.


You need to run inbound email action only for direct emails. You can do it using "email.direct" attribute of incoming email. add below condition in your inbound email action.



email.direct.match(/ITServiceDesk.*@instancename.com/i)!==null


GUPE
Kilo Explorer

thanks for the advice,


I put in the below condition in and this resolved the issue.



(email.copied.indexOf('galaretail@service-now.com') < 0)


Please mark it "Answered" if your problem is solved.