Get the field value (value) from a List Collector variable.

mounika7675
Tera Contributor

I am having a list colletor field in the catalog form "choose required PAM account"

17728350428397662453984091742745.jpg

 

Now user might fill multiple values and submit the form. Till here everything is working fine 

 

This list colletor options coming from question_choice table . See below 

17728354572916525587469625948873.jpg

This has fields like "Text" and "Value". If we see clearly in the first screenshot the list colletor is displaying the "text" field value.  Now once the form is submitted in the RITM level instead of "Text" I need Value" to be populated 

 

RITM:

17728358178404187431755613010263.jpg

 

 

Is this possible???

 

I have written a BR to insert and the be is getting the "value" but once we update it into the list colletor it is again converting the "Value" into "Text "

 

 

Please help me 

2 REPLIES 2

Ankur Bawiskar
Tera Patron

@mounika7675 

not possible

for question_choice table "text" field is marked as Display=true

55.png

Workaround: create a string type variable and after RITM is generated, store the value in that as comma separated

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

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

Tanushree Maiti
Kilo Patron

Hi @mounika7675 ,

 

Just a warning , 

 

This change has global impact.

 

If you change question_choice table's  "display' field  for 'Value' instead of 'text' , your mentioned specific usecase definitely will work.

BUT all other usecases/ implementation in your instance  where that question choice table has been used a reference - there instead of text , value will be shown for them.

 

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin: