Service Manager / Service Center Practitioners Forum
Showing results for 
Search instead for 
Do you mean 

Add contact name from email when Interaction adding

SOLVED
Go to Solution
Honored Contributor Honored Contributor

Add contact name from email when Interaction adding

Hello ! 

I need step by step instruction for adding contact in  Interaction , when Interaction created through CIT.

I use map name smin. 

I use JS for selecting contact name from contacts table on email.

How i can call JS from eventmap ?

 

2 REPLIES
Honored Contributor Honored Contributor

Re: Add contact name from email when Interaction adding

Why you have not included the Contact Name in your DTD file (which you should have created to read mails from you mailbox). You do not wanted to hardcode the contact name i guess. Your SM javascript cannot read the sender from your mail box directly it can only operate at eventmap or eventregister level (if you are using the legacy SM connector).

 

Easiest way to include a line in your DTD file and accept contact name as a input.

Honored Contributor Honored Contributor

Re: Add contact name from email when Interaction adding

Thank for answer Mukesh !
I find solution.
I call JS from trigger for table incidents , before add.