How to call quick message in email client template

Community Alums
Not applicable
How can I call quick message from email client template? Vanquwer allows you to use email client templates in the CSM workspace view. I want to use this functionality without having to create new templates. Is it possible to use already prepared sets of quick messages and use them in email client template?
1 ACCEPTED SOLUTION

Hi @Community Alums 

"call the body from the Quick Message, such as calling the email script by ${mail_script:......}"

--> These are two different things and cannot be mixed!

 

The rough implementation sequence is as follows:

  1. Implement an email script that loads the body of a quick message via GlideRecord approach, example name of that email script could be "Include_Quick_Message"
  2. Place invocation of the email script in the body of an email template like
    ${mail_script:Include_Quick_Message}

Hope that helps.

Maik

View solution in original post

4 REPLIES 4

Maik Skoddow
Tera Patron
Tera Patron

Hi @Community Alums 

don't know whether I get your point, but basically you can have an email client script within your email template which is loading a record from the sys_email_canned_message table and writes its body content to the template output.

Maik

Community Alums
Not applicable

Hi @Maik Skoddow ,

Thanks, that's what I mean. Is there any simple way to call the body from the Quick Message, such as calling the email script by ${mail_script:......} or should I use GlideRecord?

Hi @Community Alums 

"call the body from the Quick Message, such as calling the email script by ${mail_script:......}"

--> These are two different things and cannot be mixed!

 

The rough implementation sequence is as follows:

  1. Implement an email script that loads the body of a quick message via GlideRecord approach, example name of that email script could be "Include_Quick_Message"
  2. Place invocation of the email script in the body of an email template like
    ${mail_script:Include_Quick_Message}

Hope that helps.

Maik

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Community Alums 

 

What is your problem statement..

 

email Client script has  templates .. are you talking about same?

LearnNGrowAtul_0-1702312026473.png

 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************