How to make read only using ui policy by overriding the client script "Variable Editor Readonl

vamshi2
Tera Contributor

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

vamshi2_1-1749126021530.png

 

but it is not working and making fileds editable

vamshi2_2-1749126135565.png

 


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

5 REPLIES 5

Ankur Bawiskar
Tera Patron
Tera Patron

@vamshi2 

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.

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