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

Hi Nani,



What value you are getting in the system logs?



Regards


Ankur


Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

I am getting the choice lable


Hi Nani,



Are you saying that on preview notification it is showing correct label but when you check the email record then it shows value?



Regards


Ankur


Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

yes


Is there a reason you are using a mail script in this case? Why not just use it inline in the message body like this:



Security type: ${u_security_type}