How to make read only using ui policy by overriding the client script "Variable Editor Readonl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2025 05:23 AM
Hi team,
i have requirement to make variable on task should be read only so used OOB client script "Variable Editor Readonly" and have requirement to make read only when there is data so used the UI policy as below
but it is not working and making fileds editable
due to global client script "Variable Editor Readonly" which is on sctask table not due to catalog client script
so please suggest how to proceed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2025 07:07 AM
I could see it's mandatory with asterisk?
try to make it non-mandatory just before line 12
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader