adding cc email address in notification activity

Rahul Raja Sami
Tera Guru

Hi I am using this to add email address in cc of notification activity

 

<mail_script>


email.addAddress("cc", 'test@gmail.com' );


</mail_script>
The following are the details of the requester

Requester = ${current.variables.requested_for}
Email Address of Requester = ${current.variables.email_address}

 

but I want add the cc as ${current.variables.email_address} but that is not working.why?

 

1 ACCEPTED SOLUTION

this works

 

 

<mail_script>

var email = current.variables.email_address.toString();
email.addAddress("cc", email);


</mail_script>
The following are the details of the requester

Requester = ${current.variables.requested_for}
Email Address of Requester = ${current.variables.email_address}

View solution in original post

5 REPLIES 5

this works

 

 

<mail_script>

var email = current.variables.email_address.toString();
email.addAddress("cc", email);


</mail_script>
The following are the details of the requester

Requester = ${current.variables.requested_for}
Email Address of Requester = ${current.variables.email_address}