To make all the field read only in RITM and TASK form once I order any ITEM.

animesh3
Kilo Contributor

To make all the field read only in RITM and TASK form once I order any ITEM.

6 REPLIES 6

Kasi Ramanathan
Kilo Guru

Hi Animesh,

 

Create a catalog UI Policy. Check "Applies on Requested Items" and "Applies on Catalog Tasks". 

find_real_file.png

Add all the fields and set readonly true by clicking on New in Catalog UI Policy Actions.

find_real_file.png

Hi,

Also check the "Applies to catalog tasks" checkbox in the picture provided by Kasi.

Note, that these applies only to the variables of the catalog item, if you would want other fields read only on RITM and or SCTASK, you will need to create another UI policy and policy actions for that purpose.

Saurav11
Kilo Patron
Kilo Patron

For this you need to create an Ui Policy and the under the UI policy you need to create the UI ploicy action where you can configre all the fields which you want to make readonly

Ankur Bawiskar
Tera Patron
Tera Patron

Hi Animesh,

there is this OOB client script on RITM table which makes all variable readonly in variable editor

check if that is active or not

Name: Variable Editor Readonly

find_real_file.png

Try similar thing on sc_task table

Regards
Ankur

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