Best way to make the record non-editable

Neha48
Giga Contributor

Hi All,

Wanted your expert opinion on the best possible way to make all the fields on the case form non-editable when the case is Closed.

We have an option of writing the client script but it will not control the list view. User would be able to edit any field from the list view

We have another option of writing the ACLs but do we have the write the ACL for each field on the case form...need to understand the best possible way to achieve the same.

Any help would be appreciated.

Thanks

1 ACCEPTED SOLUTION

Hi,

you can select the Type as Write instead of Read

Regards
Ankur

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

View solution in original post

8 REPLIES 8

Jaspal Singh
Mega Patron
Mega Patron

Hi,

As you rightly pointed ACL is suitable approach. No need for each field. You can create ACL of Type Write on required table with None & required conditions. Since, attaching screenshot is a bit pain now with recent changes on community you can refer thread.

Thanks Jaspal, will try the same. In that case, some ACLs already written on field level for some fields should be updated with the conditions so that they are not executed after this table level acl and overwrite it? Is my understanding correct?

Gaurav Shirsat
Mega Sage

Hello 

I am not that much an HR Module expert but yes I did work on HR and Universal Request.

Could you please check this if you remove  [sn_hr_core.admin] role from all users. and provide the specific role to the user.

user with HR Role can allow users access to specific areas of the system. For example, the HR profile reviewer [sn_hr_core.profile_reader] role can read profiles, but not edit them.

Please check all roles in below link.

https://docs.servicenow.com/en-US/bundle/sandiego-employee-service-management/page/product/human-resources/concept/c_ManageRoles.html

Keep me Posted.

Mark my Response as Correct or Helpful, if you find it Appropriate.
Gaurav Shirsat : ServiceNow Community MVP 2022
https://www.linkedin.com/in/gauravshirsat/ 

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

Please have a look on the COE Security Configuration feature under HR application which started from Orlando version.

If you use this then you need not use any ACL or Script

COE Security Policies in ServiceNow Orlando Feature

Create a COE security policy

Example below

find_real_file.png

Regards
Ankur

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