The Zurich release has arrived! Interested in new features and functionalities? Click here for more

cc in Response template

Apurv Kumar
Tera Expert

I was trying to add the subject person's manager dynamically in the cc field while using a response template in HR agent workspace. I tried with email script but that's not the right way as i am not able to save it. Please let me know if i can do it or not.

2 REPLIES 2

Rafael Batistot
Kilo Patron

Hi @Apurv Kumar 

You cannot put something like ${subject_person.manager.email} or an email script directly inside a Response Template CC field — ServiceNow does not evaluate those in Workspace.

If you need it automated, you’ll have to do it via:

Notification (dot-walking to subject_person.manager.email)

 

From an HR Task record:

parent.ref_sn_hr_core_case.subject_person_hr_profile.manager.email

Explanation:

  • parent → goes from HR Task → HR Case (via task’s parent reference).

  • ref_sn_hr_core_case → is the special reference qualifier to force lookup in HR Case table.

  • subject_person_hr_profile → gives you the HR Profile record.

  • manager → the manager field in HR Profile (reference to sys_user).

  • email → the manager’s email address.

 

Apurv Kumar
Tera Expert

When we usually apply any Response template on an HR Case, we see email address of subject person in 'To' field. Can we have the subject person's manager email to the 'cc' in the same way ??