- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2014 01:08 PM
I have a choice that I added as an option to State. It is active and I can't see any issues with it yet the text is showing in blue. According to the article that I found on the wiki http://wiki.servicenow.com/index.php?title=Customizing_Choice_Lists it states "By default, inactive or invalid choice list values appear in blue text instead of black." I deleted the entry and recreated it but still it is showing in blue. This is an intiger field. Would anyone have any ideas?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2014 09:07 AM
ServiceNow response to this issue is listed below.
Sometimes the new values aren't properly cached. They cleared the cache and it looks great!
Again ... Thank you all for your help!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2014 08:44 AM
Thank you all. I've looked at all your helpful suggestions and tried and looked at them all. None of them seem to work so I am going to pose the question on the HI to see if there is something wrong that I am just not seeing. I will let you know what they say. Thank you all so much for your suggestions!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2014 09:07 AM
ServiceNow response to this issue is listed below.
Sometimes the new values aren't properly cached. They cleared the cache and it looks great!
Again ... Thank you all for your help!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2020 05:03 PM
Let me point a issue that I've figured out some time ago!
If there is choices at some table field, you probably will faced this issue:
This could happen if you use getDisplayValue() to set values through BR or Workflow
This way you'll include at your table something like this:
//E.g. Category should have two choices Planned with Value 0 and Not Planned with Value 1
//Choice list should be:
1: Not Planned
0: Planned
If you do this through workflow:
//GET INFO
workflow.scratchpad.category = current.variables.u_category.getDisplayValue();
//Inserting '0' per exemplo, getDisplayValue() going to ge 'Planned' instead
gr.t_category = workflow.scratchpad.category;
//or BR
gr.t_category = current.variables.u_category.getDisplayValue();
The result going to be:
1: Not Planned
0: Planned
Planned: Planned //This one should be appear in blue!
Correct way:
workflow.scratchpad.category = current.variables.u_category.getValue();
Regards,
Wolf