Issue with Choice values

sainath3
Mega Guru

Hi Team,

 

In incident table we have a choice field "Related to".

there is duplicate choice label as bellow:

 

LabelValue
Cloud computingCloud
Cloud computingCloud computing

 

There are 50 records on each choice label.

Requirement is to change the value to Cloud for both.

After making the changes:

LabelValue
Cloud computingCloud
Cloud computingCloud

 

After making the change, in list view field value is showing in blue color.

After running below script we are getting : Cloud computing instead of Cloud.

 

var gr=new GlideRecord('incident');
gr.addEncodedQuery('numberSTARTSWITHINC97384');
gr.query();
if(gr.next()){
    gs.info(gr.u_related_to);
}
Output: Cloud computing
 
Can anyone help me here
5 REPLIES 5

swathisarang98
Giga Sage
Giga Sage

Hi @sainath3 ,

 

can you navigate "Related to" and check whether Cloud value is present or not because if you are getting blue value in list view it means that the field is set with a invalid/missing choice value, please refer the below support article,

Choice values colored blue in list view 

 

Please mark this comment as Correct Answer/Helpful if it helped you.

Regards,

Swathi Sarang