How to hide options from a lookup select box field type , based on logged in user roles on Record Porudcer

Community Alums
Not applicable

So , i have a requirement i need to hide a option on Lookup Select Box Field (we are getting options from a custom table), based on logged in user roles.

For example , if logged in user has admin role , show them 3 fields - X,Y,Z

otherwise show only 2 fields , - X, Y.

 

How can i achieve this requirement , code would be appriciated.

 

5 REPLIES 5

@gaurav tygai 

Hope you are doing good.

Did my reply answer your question?

If my response helped please close the thread by marking appropriate response as correct so that it benefits future readers.

Regards
Ankur

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