Catalog Form variable on RITM is not editable

Divya V
Tera Contributor

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

7 REPLIES 7

Ankur Bawiskar
Tera Patron
Tera Patron

@Divya V 

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

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

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

@Divya V 

share the client script or UI policy which you are using to achieve the functionality.

that script might require a change

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Below are the UI policies that are written on the field:

  • To hide field on catalog view:

DivyaV_0-1683119324861.png

  • To make field read-only when choice "no" is selected:

DivyaV_1-1683119425349.png

  • To make field mandatory:

DivyaV_2-1683119505520.png