Remove options on "Actions on selected row" drop down

BenjaminY
Tera Contributor

I am task to hide these actions on the "Actions on selected row" from all groups except itil and admins. What would be the best way to do this and how

 

BenjaminY_0-1719972953544.png

 

4 REPLIES 4

Deepak Shaerma
Kilo Sage

Hello @BenjaminY 

 

Could you please explain a little bit of your query, that helps me in better understanding. 

 

Regards,

Deepak Sharma

I want to disable for certain users the ability to "delete" records and those other options stated on the "actions on selected row". drop down. @Deepak Shaerma 

 

Or better yet make it to where only admins have the ability to use those options

Sid_Takali
Kilo Patron
Kilo Patron

Hi @BenjaminY You can a condition like below on your UI Action condition field 

 

gs.getUser().isMemberOf('Test1' ) || gs.getUser().isMemberOf('Test2')

 

The UI Action will be visible for only Test1 and Test2 group member.

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0692571 

 

Regards,

Sid

Melwin Arulapp1
Tera Contributor

Hi @BenjaminY 

Please find the below article to Hide the UI Action.

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0692571