How can I find all inactive/invalid choice list values (values that show as blue) for a single field?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2015 08:57 AM
We have a custom field on the incident table that was originally a string field with no choice list, but now a choice list exists. Is there a way to query this field to return all of the items with invalid values for this field? I would like to create a module under the Incident application menu for itil users to clean up their old incidents with these invalid values.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2015 09:25 AM
So let me see if I understand the end-game. You have a choice field with a ton of non-validated string data in it. You want users to see their lists and go back to repair that data, right?
So what you need to do is generate a list that does not contain the valid choices.
Thus, your module or report should have one criteria for this use-case:
<choice list field> <is not one of> <highlight valid choices>
The only thing left will be the invalid choices.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2015 09:30 AM
Correct. However, I tried this method of <choice list field> <is not one of> <highlight valid choices>, but since there are so many valid choices that are being filtered out, the incident form is unable to open when a user attempts to open an incident that needs fixing.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2015 09:31 AM
When we try to open an incident after using the <choice list field> <is not one of> <highlight valid choices> filter, the form never loads and the screen remains blank.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2015 09:37 AM
If you've got over 700 valid choices then you should consider using a new table with a reference field instead of a choice list.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2015 10:18 AM
I completely agree with Robert here. That's really too many choices for a choice list and should be a lookup table.