HR user Additional Comments is not showing (Customer Visible)

abrahams
Kilo Sage

Would anyone know where ServiceNow determines when to show "(Customer Visible)" in the Additional Comments label?

I know there are client script that do this for the task table.  I am guessing there is something in the HR Application that doesn't pay attentions to those client scripts.  

1 ACCEPTED SOLUTION

abrahams
Kilo Sage

Thank you for your response.  I knew this script existed.  Evaluating our situation we see now some users were receiving the itil role we didn't realize they were getting through some knowledge roles. 

View solution in original post

6 REPLIES 6

Willem
Giga Sage
Giga Sage

It is this Client script:

yourinstance.service-now.com/sys_script_client.do?sys_id=8e3c775a0a0a3c74010bedda85570a82

 

find_real_file.png

 

Adjust lines 2-3 to:

if (!g_user.hasRole("itil") && !g_user.hasRole("sn_hr_core.basic")) {
		return;
	}

abrahams
Kilo Sage

Thank you for your response.  I knew this script existed.  Evaluating our situation we see now some users were receiving the itil role we didn't realize they were getting through some knowledge roles. 

You are welcome. Please mark answer as Helpful and if you feel it is Correct, please mark Correct as well.

Kind regards,

Willem

Willem
Giga Sage
Giga Sage

Hi Abrahams,

Hope you are doing well.

Is your question resolved? Or do we need to follow-up on this?

Please mark this answer as correct if it solves your question. This will help others who are looking for a similar solution. Also marking this answer as correct takes the post of the unsolved list.
Thanks.

Kind regards,

Willem