How to add a variable from variable set to cc of email notification

priya lakshmi
Tera Contributor

I have a requirement where i need to get the value of a variable in variable set of service catalog and add the value to cc of the email notification. the value is entered to the variable in record producer.

So, basically the "cc" of the notification should have the email id entered via record producer form in the field "personal email" this is a variable which is part of a variable set 

Can anyone have solution on how to configure this

Thankyou for all your help in advance

6 REPLIES 6

priya lakshmi
Tera Contributor

thank you, but

the email address is added to "cc" but the mail is not sent to the respected mail id.

SAI VENKATESH
Tera Sage
Tera Sage

Hi ,

syntax:

//email.addAddress(type, address, displayname);
  email
.addAddress("cc","john@example.com","John");

 

and also check whether respective user is active or not.

 

 

Thanks and Regards

Sure Sai Venkatesh