- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2022 07:29 AM - edited 10-19-2022 07:31 AM
I set two category choices as inactive on my custom table. When I use the record producer form, those choices are still visible. How do I set them as inactive on my record producer?
Solved! Go to Solution.
- Labels:
-
Incident Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2022 09:35 AM
Hello,
That is because even though the options are inactive they are probably used in some of the records so it is showing in the varibale.
Do one thing change the lookup table to sys_choice instead (I am takin the esample of Incident table and category field Please adjust according to your custom table)
Then in the reference qualifier add the below(again adjust the table and field name)
javascript:'nameSTARTSWITHincident^name=incident^element=category^language=en^inactive=false';
Please mark answer as correct based on Impact.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2022 07:34 AM
Find your record producer
instanceName.service-now.com/sc_cat_item_producer_list.do?sysparm_query=active%3Dtrue&sysparm_view=
Open up the record, scroll down to Variables related list
Open the variable
Scroll down to the Question Choices and make the choices inactive.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2022 08:23 AM
I have no choices listed once I open the variable.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2022 08:30 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2022 08:59 AM
Is that second screenshot of an existing ticket? I think the inactive will only take effect for future requests.