- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-22-2014 09:23 AM
I have a requirement to use a client script, which should not allow editing in the list view for the incidents that are closed. Basically, if the incident is closed, then no matter which field I try to change in the list view, I shouldn't edit. How do I achieve this?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-23-2014 02:22 AM
Hi Brad, I have used the below condition (in pic) to block editing in list view for closed incidents. I have some questions in this, can you plz clarify? Though the questions might look easy, but it will help me clarify/understand ACL's better.
- The specified condition is "Incident State is not Closed", though the condition that I wanted is "Incident State is Closed". Why I have to give condition in the reverse way?
- I have added the admin in 'Sys User Role' (its not in the below pic). I added admin role thinking that admin will be able to edit the closed incidents in list view but admin is also not able to edit. I didnt understand why.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-22-2014 12:17 PM
Never rely on client-side scripts in security matters. Use ACLs instead.
Blog: https://sys.properties | Telegram: https://t.me/sys_properties | LinkedIn: https://www.linkedin.com/in/slava-savitsky/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-22-2014 02:03 PM
Here are some other options for restricting editing on lists:
Click here: Client Script Best Practices - ServiceNow Wiki
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-22-2014 10:52 PM
Thanks Chris, will go through and try to make use of it and come back when I get stuck

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-22-2014 04:45 PM
Access Controls are you best bet. You can create write ACL's for this or list edit ACL's if it only needs to be list specific.