Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How to remove 'Close Case' option from Action button

Sonu Parab
Mega Sage

Hi All,
We have one requirement, If user has snc_internal role then we want to remove or hide 'Close Case' option from the button.

Sonu_Parab_0-1676891724508.png

 


--> This is a Standard Ticket Header widget.

Sonu_Parab_1-1676891903629.png

 

-->Basically this widget display when we click on short description of Incident record.

Sonu_Parab_2-1676891971496.png

 

Could you please assist anyone to achieve the requirement
Thank you

 

 

 

2 REPLIES 2

Community Alums
Not applicable

Hi @Sonu Parab ,

 

It is part of a widget and you need to play with script. Follow below instruction to add a button:

1) Go to Standard Ticket > Standard Ticket Configuration
2) Open the record where Table is matching the table name of your record .
3) Goto Action Region tab
4) Open the widget mentioned in Action Widget
5) Edit this widget to match your requirement 

 

 

Community Alums
Not applicable

Hi @Sonu Parab ,