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

I need to clear the field when record is edited on list view.



Example: when field active is made true to false in list edit view the value of the field assignment group need to be cleared/empty.


That last reply doesn't seem to fit this thread. You were asking about notifications then switched to list editing. I clearly don't understand the process that is involved. Perhaps if you explained the business requirement (not the technical requirement you believe you need) we can assist further.


Chuck,

I'm having the same issue with OOB fields too.

Here's a Change Request notification where I'm trying to display the Risk.

 

HTML from Notification:

find_real_file.png

 

Preview Notification:

find_real_file.png

 

Notification HTML Body from Email Logs:

find_real_file.png

 

Same thing is happening with the hold_reason field on Incident.

nandhinirengara
Tera Contributor

Have you figured out any fix for this ? Please share even if it a work around.

Dan R
Kilo Expert

try adding a  .getDisplayValue() to your variable and it should display the label instead of the value.