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.

Hardware Asset Workspace

kalpeshjath
Tera Contributor

Hi All,

Requirement : 

I want only specific attributes to be editable for certain user group on alm_hardware table. The attributes which i want to be editable are 'install_status', 'substatus', 'assigned_to', 'asset_function', 'work_notes'. Apart from this attributes rest all attributes should be greyed out and not editable. The users are updating the details of assets from Hardware Asset Workspace - Asset Estate - Hardware Assets. 

 

Please can someone help me on the same and let me know if this can be done. As I tried a lot but not able to figure out how can i do it. 

13 REPLIES 13

Ankur Bawiskar
Tera Patron
Tera Patron

@kalpeshjath 

you should create list_edit acls for those fields and ensure only particular group members can edit that

use advanced script in those list_edit ACLs with this

answer = gs.getUser().isMemberOf('Group ABC');

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Can you help me with Step by Step how to do it. I am not so technical I take care of functional side. But i like to learn hence learning technical aspect also.

@kalpeshjath 

You should have security_admin role to create new ACLs

Something like this for all the fields you want to be editable

Ensure in script you give correct group name

AnkurBawiskar_0-1745333990121.png

 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hi Ankur,

Is there any other way of doing it without security_admin role. I only have Admin role.