How to remove "Ask a question" button on cases

Loudigi
Kilo Sage

While in the Task tab in Standard Ticket page for HR Cases, there's a "Ask a Question" button which I would like to disable. Does anyone know where the options are for this feature and if it can be turned off?  

find_real_file.png

1 ACCEPTED SOLUTION

Loudigi
Kilo Sage

RESOLVED: I found the option to disable it inside a widget client script of "HRM Task ACH Widgets". Line 21 - I could set it to false.

View solution in original post

4 REPLIES 4

Sruthi M
Kilo Guru

If you are trying to open an portal page. It would be in a widget script to disable. 

Can you send the screenshot of url, where it mentions about the portal and page.

Markus Nilsson
Tera Guru
Tera Guru

Hi,

 

Not a straight answer but whenever I'm stuck I use the UI page CodeSearchExampleUse:
yourinstance.service-now.com/nav_to.do?uri=%2Fsys_ui_page.do%3Fsys_id%3D8bc77fb2d7120200b6bddb0c825203ac%26sysparm_record_target%3Dsys_ui_page%26sysparm_record_row%3D1%26sysparm_record_rows%3D2%26sysparm_record_list%3DnameCONTAINScode%255EORDERBYname

 

When searching for "Ask a Question" I got a hit on two script includes: 

esc_PreChatUtil 

hr_PortalUtil 

 

Maybe it will help you.

 

/Markus

Best regards,
Markus Nilsson
+46709389974

Loudigi
Kilo Sage

RESOLVED: I found the option to disable it inside a widget client script of "HRM Task ACH Widgets". Line 21 - I could set it to false.

cecil m
ServiceNow Employee
ServiceNow Employee

Please see the documentation: Employee tasks page which points to property sn_hr_sp.hr_ask_a_question_enabled 

cecilm_0-1712689515789.png