Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

How to hide Archive Record action from "actions on selected rows" dropdown menu? (pictures)

Miikka_M
Tera Guru

Hi, 

I'm trying to configure Archive Record action from "actions on selected rows" so that only users with itil_admin -role could see this. 

archive record.jpg

I have created an UI action with following condition, this Ui action overrides the OOB Archive Record Ui action.

2022-12-15 10_10_30-Window.png

 

Even condition has set gs.hasRole("itil_admin"), still everyone in the company, with or without itil_admin role can see that "archive record" option available. 

What I'm missing here?

1 ACCEPTED SOLUTION

Miikka_M
Tera Guru

Somehow problem was because I was overriding that OOB "Archive Record" Ui action with this new UI action. Deleted the override and inactivated that old OOB Archive Record Ui action, since we don't need it anymore. 

Kind of workaround fix, but it works!

View solution in original post

1 REPLY 1

Miikka_M
Tera Guru

Somehow problem was because I was overriding that OOB "Archive Record" Ui action with this new UI action. Deleted the override and inactivated that old OOB Archive Record Ui action, since we don't need it anymore. 

Kind of workaround fix, but it works!