Email client for catalog task.

Naga Surendra 1
Mega Expert

Hi,

How to enable email client for a particular catalog task.

Regards,

Naga Surendra.

3 REPLIES 3

amaradiswamy
Kilo Sage

Hi surendra,



1. Go to system definition --> Dictionary


2. Search for the table sc_task


3. then you will find an entry with column name as empty and type collection


4. open the record and add email_client= true in the attributes column



Enabling the Email Client - ServiceNow Wiki



Email client



Thanks and regards


Swamy


dvp
Mega Sage
Mega Sage

Hello Surendra,



Once you enable the email client on a table email icon   will show for all the records.



As far as i know there is no way you can hide the email icon in the form header, but you can restrict that functionality by using a email client template and clearing out the FROM field(for other catalog tasks) which will not all user to send an email. But if you want to show some error message in the template body you have to use mail script in the body of client template as ${mail_script:xxYY}



Deepak Kumar5
Kilo Sage

First Enable Email client script for Catalog Task table then use below Client script on Catalog task table with your conditions.



if(g_user.hasRoles("itil")){  

    $('email_client_open').hide();  


}