How to add manager into CC in email client template from record producer?

Sneha_Krishna1
Tera Contributor

Hi,

I have a requirement to add manager into cc in email client template from record producer.

I have 2 variable set one is requester information and second is Job info. Job info has only one field that is job and it's reference field of sn_hr_core_job table. requester information has a a field of subject person so when subject person is selected then job field will show the job for that subject person. now I want to fetch subject person's job manager email Id into cc. Can anyone help me on this?  

 

@Ankur Bawiskar @Kalaiarasan Pus  @Anirudhkuma  @Jaspal Singh  @iris_geist 

 

 

Thank you!

9 REPLIES 9

@Sneha_Krishna1 

you must have configured email client template for your table

then do this in the cc field

AnkurBawiskar_0-1678427863167.png

If my response helped please mark it correct and close the thread so that it benefits future readers.

 

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

I already tried this one but it's not working.

@Sneha_Krishna1 

it should work fine. dot walking is supported there. share screenshots

are you sure that subject person's manager is active, not locked out and has email populated in user record

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Actually my subject person's manager depends on other table that is sn_hr_core_job table not from sys_user table that's why is dot walking is not working. 

@Sneha_Krishna1 

subject_person field is referring to sys_user only in OOB instance on any HR case table

AnkurBawiskar_0-1678431020204.png

 

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader