Disable "Add All" button when linking child incident to Incident or linking incidents to problem

ShreeMan
Tera Contributor

we have a "Add" OOB UI action for incident that's used when adding incidents to a problem record or adding child incident to incident then I'm trying to hide the "Add All" button and I want that no one should be able to click on 'Add All' button, want to make it un-clickable or hide this button.

This button allows users to link n nos of  records to a problem with one click  which needs to stop.

 

This is an urgent. Any lead is appreciated ...!!

 

 

Screenshot 2023-07-26 at 10.03.53.png

9 REPLIES 9

Hi Shreeman, 

Please add the condition in condition field in ui action based on your requirement or please disbale the button.

 

Regards,

Sandeep Kumar M

Hi Shreeman,

Please use below condition

You need to update OOB UI Actions with below condition.

&& current.sys_class_name !='your table name'

 

Regards,

Sandeep Kumar M

Please mark the appropriate response as correct answer and helpful.

ShreeMan
Tera Contributor

Screenshot 2023-07-26 at 15.43.09.pngScreenshot 2023-07-26 at 15.44.22.pngScreenshot 2023-07-26 at 15.44.39.png

ShreeMan
Tera Contributor

This condition && current.sys_class_name !='your table name' is hiding 'Add' button but I need to click on 'Add' button and then hide or make un-clickable 'Add All' button

Ron Legters
ServiceNow Employee
ServiceNow Employee

Did you ever get an answer to this? I'm having the same issue. Thanks!