Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

How to editable variables for particular users

keval3
Tera Contributor

Hi All,

I have created one catalog item it is working fine but I got new requirement that when ritm ticket will be created at that time some variable is that this variable are read only for other users now they want 2 of them variable should be editable for some of users, they have some different roles and groups. Kindly let me know how to do that?

 

Thanks & Regards

KP

1 REPLY 1

Bhavya11
Mega Patron

Hi @keval3 ,

 

1) please create system property with sys_id of two users 

2) onLoad catalog client script which Applies on Requested Item

3) use GlideAjax and check for logged in user with system property

 

 

 

If my response helped please mark it correct.

Regards
BK

Regards
BK
LinkedIn: https://www.linkedin.com/in/bhavyashree-karanth-55032a121
YouTube: https://www.youtube.com/@NowWithBhavya