Department Information in Email (242 Views)
Valued Contributor
Posts: 67
Registered: ‎03-24-2013
Message 1 of 5 (242 Views)

Department Information in Email

Hi Experts,


I have a requirement to include the contact's department in the email sent upon closure of an incident ticket.


I have tried using link file but I think in 9.32, there is a slight change in the link files (I think i am editting the wrong link file).


Can somebody advice if I have alternative to grab the department information of the contact?


Thanks in Advance.

Valued Contributor
Posts: 63
Registered: ‎04-06-2010
Message 2 of 5 (202 Views)

Re: Department Information in Email

Can you detail how you are sending the message as there are several different options.


For example are you using a notification, and if so are you using a custom format?

Are you using a macro, and if so with a custom format?

Are you using format control subroutines?


If you can state how you are send the mail and include screenshots of the configuration it may be possible to offer some guidance.





Esteemed Contributor
Posts: 223
Registered: ‎08-05-2011
Message 3 of 5 (191 Views)

Re: Department Information in Email

If you use HTML email templates, the easiest way is to create a Javascript function which retrieves the department information.


Another way: create a local variable (f.ex. $department) in format control IM.close.incident to which you store the department name. You can use this variable in your email.

Honored Contributor
Posts: 4,458
Registered: ‎06-17-2010
Message 4 of 5 (177 Views)

Re: Department Information in Email


If you are capturing dept info in incident table then you can easily send the data in email. Here you have to post info as Steve stated.
If not then you have to use JS or RAD script to fetch and incorporate data in mail.

Assign Kudo, if found post useful and mark it accepted if solves the issue.
Occasional Advisor
Posts: 5
Registered: ‎11-04-2013
Message 5 of 5 (162 Views)

Re: Department Information in Email

whereever you are sending a email, you can write down some javascript to get the members of department. and use $L.ret= jscall("file.function", <params>) to get the list, if you are sending the email in some RAD context, like notification.

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.