How to hide choice in workspace form?

borisarnaut
Tera Contributor

Hi,

I have state field with choices and i want to hide one of the choices from the list, so the agent can't select it manually. UI policy or Client script are not working on Workspace, any idea how it can be done?

7 REPLIES 7

borisarnaut
Tera Contributor

Hi Ankur,

 

Here is UI policy

borisarnaut_0-1760024065280.png


Here is in normal view

borisarnaut_1-1760024092688.png


And here is the workspace view

Screenshot 2025-10-09 172715.jpg



Community Alums
Not applicable

@borisarnaut , Client scripts usually do work on workspace, just make sure you specify view.

https://www.servicenow.com/community/developer-forum/how-to-hide-a-value-in-a-list-fields-using-busi... 

borisarnaut
Tera Contributor

Hi,

 

Here is Client script

borisarnaut_0-1760025712291.png

 


Here is in normal view

borisarnaut_1-1760024092688.png


And here is the workspace view

Screenshot 2025-10-09 172715.jpg