The CreatorCon Call for Content is officially open! Get started here.

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

Ankur Bawiskar
Tera Patron
Tera Patron

@borisarnaut 

how are you hiding it? share the script screenshots.

💡 If my response helped, please mark it as correct ✔️ and close the thread 🔒 — this helps future readers find the solution faster! 🙏

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

Hi Ankur,

Here is the UI Policy script

borisarnaut_0-1760023570080.png

It works in normal view

borisarnaut_1-1760023607835.png


But not in the workspace

Screenshot 2025-10-09 172715.jpg

 

Hi Ankur,

 

Here is Ui Policy

borisarnaut_0-1760023840435.png


It works in normal view

borisarnaut_1-1760023869071.png

But not in workspace

Screenshot 2025-10-09 172715.jpg





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