Catalog Form variable on RITM is not editable
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-03-2023 05:21 AM
We have a catalog form variable that should be only visible on RITM and task, on RITM if we choose a certain option then the field should be read only but the field is read only always on the RITM even after disabling all the read only policies and client scripts on the field.
Users with Admin access are able to edit the field but for other users who are not admin, field is read.
Could anyone please suggest what is the issue.
Thanks
Divya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-03-2023 05:31 AM
so did you check that variable is read-only because of read-only check box at variable configuration level
Did you check the edit role in permissions tab of that variable
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-03-2023 05:41 AM
Read only check box is false on the variable and variable type is select box.
On load the field should be mandatory and editable, if user selects choice value 'no' the the field should be read-only, this functionality is working for admin but not for other user
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-03-2023 05:54 AM
share the client script or UI policy which you are using to achieve the functionality.
that script might require a change
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-03-2023 06:12 AM
Below are the UI policies that are written on the field:
- To hide field on catalog view:
- To make field read-only when choice "no" is selected:
- To make field mandatory: