Include Currently Logged-In User's Name and Schedule in Content>>Body HTML in Email Client Template

adityaverma
Tera Contributor
  • TO: should be contact.email

  • CC: should include both the Assigned_to user and the currently logged-in user.

If the assigned user and the currently logged-in user are the same, they should only be added once.
This should be done in the Email Client Template.

3 ACCEPTED SOLUTIONS

Bhuvan
Kilo Patron

@adityaverma 

 

You can create a email client template similar to out of box template 'reply-for-customer-service'

Bhuvan_0-1757054622237.png

Below is for sample,

 

Bhuvan_3-1757056360672.png

Sample Case record applied with newly created email client template for testing,

Bhuvan_4-1757056436779.png

If you need to check for unique email ID, better to use email scripts where you create an array and check uniqueness and convert to string and add it to recipients list.

 

If this helped to answer your query, please mark it helpful & accept the solution.

 

Thanks,

Bhuvan

View solution in original post

Ankur Bawiskar
Tera Patron
Tera Patron

@adityaverma 

try to use script in email client template and use script include to handle this, see if that works

Scripting with Email Client Templates 

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

View solution in original post

@adityaverma 

 

This is the behaviour when email IDs are different and confirmation email ID uniqueness logic is handled out of box by email client template

Bhuvan_0-1757058007476.png

If this helped to answer your query, please mark it helpful & accept the solution.

 

Thanks,

Bhuvan

View solution in original post

11 REPLIES 11

Bhuvan
Kilo Patron

@adityaverma 

 

You can create a email client template similar to out of box template 'reply-for-customer-service'

Bhuvan_0-1757054622237.png

Below is for sample,

 

Bhuvan_3-1757056360672.png

Sample Case record applied with newly created email client template for testing,

Bhuvan_4-1757056436779.png

If you need to check for unique email ID, better to use email scripts where you create an array and check uniqueness and convert to string and add it to recipients list.

 

If this helped to answer your query, please mark it helpful & accept the solution.

 

Thanks,

Bhuvan

Hi @Bhuvan  I used OOB Email client only, also want to include Currently Logged-In User's Name and Schedule in Content>>Body HTML in Email Client Template, can you help me writing Email Script for checking the uniqueness for the email.

@adityaverma 

 

I have checked and confirmed uniqueness is handled out of box in email client template

Bhuvan_0-1757057713668.png

For testing, I made contact.email and assigned_to with same email ID and email client template picks up unique value by default

 

Bhuvan_2-1757057843122.png

If this helped to answer your query, please mark it helpful & accept the solution.

 

Thanks,

Bhuvan

@adityaverma 

 

This is the behaviour when email IDs are different and confirmation email ID uniqueness logic is handled out of box by email client template

Bhuvan_0-1757058007476.png

If this helped to answer your query, please mark it helpful & accept the solution.

 

Thanks,

Bhuvan

Ankur Bawiskar
Tera Patron
Tera Patron

@adityaverma 

try to use script in email client template and use script include to handle this, see if that works

Scripting with Email Client Templates 

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