All the fields get read only when incident closed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2024 09:21 PM
function onLoad() {
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2024 09:28 PM
Hello,
Try UI policy instead of client script.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2024 09:29 PM
I've to make a lot of UI Actions for it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2024 09:29 PM
Hi @nowitsvashu ,
OOTB , the closed incidents have all the fields read only by default.
There is an ACL which is restricting the ITIL user to not allow closed incidents editable. In that ACL, there is a condition which allows to edit only if state is not closed/cancelled. Remove that condition and itil user is able to edit closed incidents as well.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2024 10:24 PM
Hi there,
Any reason for wanting to do this Client Side? You are aware that Client Side = not secure = user performance degradation? Why not doing this Server Side?
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field