Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

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}