How do you add a choice to a list collector with attribute glide_list?

paw2
Tera Expert

We have a service catalog request with a list collector variable (glide_list attribute).  How/where do you add a choice to the list?  (There is a read ACL on the question_choice, so I don't know if this is affecting an admin from not being able to access where to add to the choice list).

The list collector variable is called "Please select accessories needed" .... here are some choices

 - Mouse 

 - Monitor

find_real_file.png

2 REPLIES 2

Michael Jones -
Giga Sage

You don't add choices to a list collector exactly; you reference a table and limit the options displayed with a filter. A common practice would be to have a custom table where you store the name of the field, and any values you want to display, and then point your list collector to that table and build your filter to show your records. 

The list collector values will actually be the sys_id's of the records in your table. The value that you see will be the display value of those records, or the sys_id if no display value is set.

If this was helpful or correct, please be kind and click appropriately!

Michael Jones - Proud member of the CloudPires Team!

I hope this helps!
Michael D. Jones
Proud member of the GlideFast Consulting Team!

Tejas Tamboli
Giga Guru

Hello Paw,

 

Variables of the type List Collector with glide_list attribute do not honor the reference qualifiers. You can save values that are not qualified by the reference qualifier.

 

  1. Create a list collector variable (for example, in the sys_user table).

  2. Set the variable attribute to the glide_list.

  3. Make a reference qualifier for this list collector to restrict the list or search.

  4. Associate this to a catalog item and click Try It.

  5. Populate the list collector and click Submit.

  6. Once submitted, edit the list collector variable to add more values.

  7. In the search box, search for values that are not qualified by the reference qualifier from the list collector.

    Note that you can search for and save values that do not qualify.

 

You can also refer below links:

1. https://docs.servicenow.com/bundle/orlando-it-service-management/page/product/service-catalog-manage...

2. https://community.servicenow.com/community?id=community_blog&sys_id=755d6629dbd0dbc01dcaf3231f96198b 

3. https://hi.service-now.com/kb_view.do?sysparm_article=KB0679340

 

 

hope that will help you.

 

Mark Correct if this solves your issue and also mark 👍 Helpful if you find my response useful to you and help others to find information faster.

 

Thanks,

Tejas