Make single choice on choice list Inactive

Michael M1
Giga Expert

On a catalog item I have a question that is a choice list (drop down).

It consists of several values that each execute a different path in the workflow.

It turns out that 1 of the choices is not ready for production so I want to temporarily hide it or grey it out, etc.

I noticed that in the choice list there is a check box for 'inactive' [see attached].

When I select this, it does not appear to have any effect - the choice is still available and does not appear any differently.

1) What is that Inactive box for?

2) How can I temporarily disable a choice without deleting it (need sysID for later).

Thanks

2 REPLIES 2

darius_koohmare
ServiceNow Employee
ServiceNow Employee

After setting inactive to true, did you flush your system cache as well?


cache.do into your navigator will do this.



In addition, removing a choice from view can be done via client side script as documented here:


g_form removeOption does not work on catalog variable


Community Alums
Not applicable

This UI Script was working for us. After Jakarta upgrade, the drop down option is not disabled.


The UI Script and Onload client script exist. But, not sure why it suddenly got enabled.



Did anyone have this similar issue?




REQ0090747