Add requested for in cc email adress,ritm table

praveen50
Tera Contributor
 
9 REPLIES 9

@praveen50 In your email script log the following

 

gs.info('Request for email is '+current.requested_for.email.toString());

Check if the above line prints the email address of the user in system logs.

Log is printing ,but in copied column it not coming email

@praveen50 Check if the requested for user is an active user or not in sys_user table.

It's active user only,even I passed the same email id directly it's coming but instead of email id passing the requested_ for it not coming 

Community Alums
Not applicable

Hi @praveen50 ,

Please try below script 

email.addAddress("cc", current.requested_for.email, current.requested_for.getDisplayValue());

 

Please mark my answer correct and helpful if this works for you

Thanks and Regards 

Sarthak