Making RITM / SCTASK variables Read only

Gillerla Rajesh
Tera Contributor

Hi ,

 

i need to make make RITM variables (coming form catalog form) make as editable in RITM (or) SCTASK, how can i make editable.

 

i seen it in PDI it's editable only, but in my client instance it's readonly.

 

GillerlaRajesh_0-1727169065315.png

can any one provide me solution please !.

 

Regards,

Rajesh.

4 REPLIES 4

Voona Rohila
Kilo Patron
Kilo Patron

Hi @Gillerla Rajesh 

OOTB there is no client script/UI Policy that will make the variables read-only.

 

You can write catalog ui policy or catalog client script and make 'Applies on Catalog Tasks/Applies on Requested Item' to true for those to be reflected in RITM and CTASKs.

VoonaRohila_0-1727170865181.png

VoonaRohila_1-1727170974556.png

 


Mark it helpful if this helps you to understand. Accept solution if this give you the answer you're looking for
Kind Regards,
Rohila V
2022-25 ServiceNow Community MVP

sejal1107
Tera Guru

Hi @Gillerla Rajesh 

 

There is a client script for sc_task and sc_req_item table named as 'Variable Editor Readonly' please make sure that this client scripts are active false.

Screenshot 2024-09-24 at 3.15.48 PM.png

Please mark it helpful if it helps solving your problem.

Please check and Mark Helpful and Correct if it really helped you.
Thanks & Regards
Sejal Chavan

Thanks @sejal1107 , it's working for all variables,

 

now if i want to make on particular vaiable means i will go with catalog ui policy and i need to make applies on RITM or task right , like @Voona Rohila mentioned in this thread.

 

Regards,

Rajesh.

Yes correct.


Mark it helpful if this helps you to understand. Accept solution if this give you the answer you're looking for
Kind Regards,
Rohila V
2022-25 ServiceNow Community MVP