- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-27-2017 02:53 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-27-2017 03:38 AM
Hi Saahil,
I think it's a duplicate thread for your query. I have already give a response to your query on your below thread. Please refer the same and close both of the thread, as it would be good for others:
how to know the backend value of choice values on "state" field
Hope this helps.Mark the answer as correct/helpful based on impact.
Regards,
Shloke
Regards,
Shloke

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-27-2017 03:05 AM
Hello Saahil,
Just navigate to the Configure Dictionary by right clicking over state field.
After that you can see the list of choices under related list with the their values and labels.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-27-2017 03:22 AM
Using script you can get both label and choice value.
Label:
var gr1= new GlideRecord('incident');
gr1.get('74ca7fd0db0bb600549ff00fbf96190c');
gs.print(gr1.state.getChoiceValue());
Value:
var gr1= new GlideRecord('incident');
gr1.get('74ca7fd0db0bb600549ff00fbf96190c');
gs.print(gr1.state);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-27-2017 03:38 AM
Hi Saahil,
I think it's a duplicate thread for your query. I have already give a response to your query on your below thread. Please refer the same and close both of the thread, as it would be good for others:
how to know the backend value of choice values on "state" field
Hope this helps.Mark the answer as correct/helpful based on impact.
Regards,
Shloke
Regards,
Shloke
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-27-2017 04:14 AM
Hi Shloke,
I was going through the images you attached on the other thread. While opening one of the images, all of a sudden the instance went off, the next thing I know is that the current duplicate thread was created. Anyways, as both you and regina were correct in assisting me. I ll mark both of your guys answers as correct alternately between the 2 threads
Thanks a ton for your assistance