Notifications

315 views

Overview


The email client functionality only supports one email client template per table even if there is an option to create more than one email client templates per table.

Email client only supports one email client template per table


Regardless of how many email client templates have been set up for a table only one email client template is supported and will be used. The first email client template created would be the one that will always be used. If there are other processes that manually call different email client templates only the first email client template that was first created is applied.

Example


1) Create two different email client templates for incident table:

  • Name: template1
  • Name: template2

2) Through a script in an UI Action manually call template2:

var url = 'email_client.do?sysparm_table=incidents&sysparm_sys_id='+<sys_id>+'&sysparm_target=incident&sys_uniqueValue='+i<sys_id>+'&email_client_template=template2&sys_row=0&sysparm_encoded_record=&sysparm_domain_restore=false&sysparm_stack=no';

popupOpenEmailClient(url);

 

Actual behavior: Even though template2 is specified to be opened (from the URL parameter "email_client_template=template2") the email client would still open template1 because this was the first email client template that was created.

Additional Information


The email client

Article Information

Last Updated:2018-08-10 13:55:01
Published:2018-08-10