Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

getting choice value instead of choice label

naaani
Giga Contributor

i have one notification in which i want to display the label of one choice list but the problem is that m not getting the label m getting the value as shown below

find_real_file.png

choice list of this field is :

find_real_file.png

email script is this :

find_real_file.pngi

in my preview notification m geeting the proper label but not on incident form

find_real_file.pngctomasi

14 REPLIES 14

Fabian Kunzke
Mega Sage
Mega Sage

Hello,



this might provide the correct answer:


g_form get label of choice



Greetings


Fabian


Thanks Fabian. It worked like a champ!

Jaspal Singh
Mega Patron
Mega Patron

Hi,



Ideally it should be label that should be shown & not value. Can you just try modifying or shortening the labels. Not sure but may be one of causes.


Hello Thanks,



But its Not working