Choice from static choice is showing in Lower case even if its label is in upper case in Virtual agent

Nikita35
Kilo Guru

Hi 

I have used static choice variable where I have given several choices to select the type of account.

here is the screenshot:

find_real_file.png

However in the output preview of virtual agent, It is showing in small case.

find_real_file.png

Can anybody advise on this?

1 ACCEPTED SOLUTION

Just also simulated this. Especially the last bit curious if that's your case.

So for example, you could have a choice with label "SAP" and value "sap". Though if you would have a UI Message [sys_ui_message table] with a record that has key and message "sap", this will overwrite your label from your choice. This also happens even if your label is first letter uppercase and your UI Message key is all lowercase. Then still, the UI Message will overwrite your label from your choice.

If my answer helped you in any way, please then mark it as helpful.

Kind regards,
Mark

---

LinkedIn

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

View solution in original post

15 REPLIES 15

Like I mentioned, it's because of the sys_ui_message record with lowercase "sap". The sys_ui_message overwrites the label.

If my answer helped you in any way, please then mark it as helpful.

Kind regards,
Mark

---

LinkedIn

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn