Need client script for readonly
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2025 07:38 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2025 11:34 AM
Greetings @chgopikrish. I would recommend looking into creating a new "write" wildcard ACL with a Data Condition on your custom table. If you have admin rights or security_admin rights in your ServiceNow environment, you can go to All > System Security > Access Control (ACL).
To see a similar example, you can check out the existing "incident.*" write ACL. I'll include screenshots below and summarize what is going on.
Table: incident
Type: record - applies to the entire record
Operation: write
Name: incident.* - This indicates it is a wildcard type ACL and applies to all fields on the form
Requires Role: You can choose an existing Role you would like to be included as part of the requirement to grant the ability to edit records. In the example "incident.*", the sn_incident_write Role is necessary but this is entirely up to you. If you do decide to choose a Role, to evaluate to true you would have to have BOTH the assigned Role AND match the Data Condition.
Data Condition: This is where you will apply the State filtering you wish to achieve. In this example, the Condition Builder states "Incident State is NOT Closed (7) or Canceled (8 )". In your use-case, you would do something similar with "State is NOT Closed Incomplete, Closed Cancelled, or Closed Skipped."
Finally, I'll include some useful ServiceNow documentation about creating new ACL records. I hope this information is helpful!
Create an ACL
