Show the select box variable label instead of the value.

imkhan
Tera Contributor

Hi All,

I just have query, we are using a multirow variable set, and we have a variable, so how do we show the variable label after selecting the choice from the select box instead of the value? We are getting data from a third party to show that is not storing in ServiceNow.

imkhan_0-1739983787556.png

 

22 REPLIES 22

@imkhan 

your data is coming as this -> {"data":[{"TopicID":4,"Name":"A&E"},{"TopicID":1,"Name":"E&A”}],"message":"Succes
s"}

Are you sure the select box is having correct choices?

Choice label - A&E with choice value 4

Choice label - E&A with choice value 1

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

Hi @Ankur Bawiskar ,

 

Yes, select box is having correct choices and showing the alert.

 

 

imkhan_1-1740032375243.png

 

Thanks!

@imkhan 

on MRVS row it shows choice label but on the form it shows choice value?

This is strange

AnkurBawiskar_0-1740034605188.png

 

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

Hi @Ankur Bawiskar ,

Yes, while selecting the shown label on MRVS, after adding the choice, the value is then shown in the MRVS summary on the catalog.

 

Thanks!

@imkhan 

I am able to see the choice label here and same choice label shown on MRVS row when I ope

AnkurBawiskar_0-1740036181818.png

 

When you submit the catalog item with MRVS manually the same is happening? or happening with only integration

the variable u_topic has what choices? share the screenshot

If my response helped please mark it correct and close the thread so that it benefits future readers.

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