How to add manager into CC in email client template from record producer?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-09-2023 07:55 PM
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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-09-2023 08:35 PM
email script doesn't allow email object with email client template.
so email.addAddress() cannot be used to set CC or BCC.
See image below
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-09-2023 08:38 PM
So how can I achieve this requirement can you tell me?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-09-2023 09:23 PM
so you are using email client template for this.
can you share how you want to trigger this? share screenshots
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-09-2023 09:33 PM