State Field Read Only when state is closed complete in catalog task
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2019 04:12 AM
Hi All,
We have a requirement On selecting state as closed incomplete/skipped/closed, State field should get greyed out once we have saved the task form with state as closed.
I wrote a write ACL to make state field read only once the state moves to Closed Complete it is not working properly. I could still find catalog task state field as editable. Is there any mistake ?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2019 04:20 AM
You have to simply write in opposite way, when state is in closed complete, for write operation add admin role. Then try by impersonating non admin users, it will work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2019 04:23 AM
Hi Swathi,
Try to debug the security rules and check which other ACL is allowing this
If you find another ACL then better way is to use UI policy instead of updating that ACL also
have ui policy on similar lines and it should work
Mark Correct if this solves your issue and also mark Helpful if you find my response worthy based on the impact.
Thanks
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2019 12:21 AM
Hi,
I enabled debug security properties and found there is one more ACL which is defined on Cloud Management Platform scope which is being executed for this operation. This is being evaluated not the one which i wrote on Global Scope. I am not able to disable that ACL. It throws an error . What can i do?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2019 02:36 AM
Hi Swathi,
Try to handle this in an onLoad UI policy then instead of updating the ACL from other scope.
Mark Correct if this solves your issue and also mark Helpful if you find my response worthy based on the impact.
Thanks
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader