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

I will surely try this and update you, Thank you Mark!

Removed choice SAP >> Save+Publish

Added choice SAP >> Save _publish

Still the same issue.

 

Checked design definition for my topic and below is the screenshot.

 

find_real_file.png

To add to this issue, In my personal instance it works fine but In my coworker's personal instnace the same isssue persists.

 

 

 

find_real_file.png

 

Removed choice SAP >> Save+Publish

Added choice SAP (here Label and value both in Caps) >> Save + publish

Still the same issue.

 

 

Nikita35
Kilo Guru

Does anybody can suggest on this?

Nikita35
Kilo Guru

So I finally made it SAP Account which is taking it correctly.

Still couldn't find what was wrong. It was accepting everything but SAP in upper case like SAP. or SAP Account