- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-11-2019 06:27 AM
We have a email client template which we are using for technical communication in major incidents(Sev 1/sev 2).
I want to use BCC field dynamically according to Incident severity i.e, sev1/sev2.
I tried mail script in htmlBody as well as in bcc but seems not working. I am also not able to use dot walking variables like we used in subject over there.
Can anyone help me with this?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-17-2019 02:20 AM
Hey Manas,
My email engine is also enabled.
Actually I found one article by service now that this email object doesn't work or exist for email client template at the time of sending. This email.addAddress() only works for notification or email template.
I was just playing around it and got a solution.
Following is the business rule I've return & it worked for me. Because when we click send button in communication tab of major incident and email client template appears, it creates an entry in email logs though we send that email or not.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-11-2019 06:34 AM
Hi
Please refer
If my answer helped you in any way, please then mark it correct and helpful.
Kind regards,
Manas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-11-2019 06:46 AM
email.addAddress('bcc', 'joe.employee@something.com', 'dudley rocks');
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-14-2019 12:03 AM
I tried this, wrote this code in mail script and in email client body wrote - ${mail_script:bcc_for_major_incidents}
but it doesn't seem to be working.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-14-2019 12:20 AM