Skip to page contentSkip to chat
ServiceNow support
    • Community
      Ask questions, give advice, and connect with fellow ServiceNow professionals.
      Developer
      Build, test, and deploy applications
      Documentation
      Find detailed information about ServiceNow products, apps, features, and releases.
      Impact
      Accelerate ROI and amplify your expertise.
      Learning
      Build skills with instructor-led and online training.
      Partner
      Grow your business with promotions, news, and marketing tools
      ServiceNow
      Learn about ServiceNow products & solutions.
      Store
      Download certified apps and integrations that complement ServiceNow.
      Support
      Manage your instances, access self-help, and get technical support.
"List Collector" variable types do not display slushbucket in Service Portal but instead a "Select Box" type variable - Known Error
  • >
  • Knowledge Base
  • >
  • Known Error (Knowledge Base)
  • >
  • "List Collector" variable types do not display slushbucket in Service Portal but instead a "Select Box" type variable
KB0635149

"List Collector" variable types do not display slushbucket in Service Portal but instead a "Select Box" type variable


25738 Views Last updated : Feb 5, 2025 public Copy Permalink English (Original)
  • English (Original)
  • Japanese
KB Summary by Now Assist

Description

After creating a record producer and attaching a variable with type List Collector, the variable displays correctly when accessing the record from the service catalog and the slushbucket appears; however when accessing it through Service Portal a Select Box appears instead of a slushbucket.

 

Steps to Reproduce

  1. Login any current instance as administrator.
  2. In the Navigation filter, type: sc_cat_item_producer.do to create a new record producer
  3. Assign a name, select any table
  4. Under the Accessibility section, select a Catalog: Service Catalog, and Category: Services.
  5. Right click header and Save
  6. Under the Variables related lists, select New and when the Variable form appears
  7. Under type select List Collector
  8. In the Question, tab fill in the Question and Name mandatory fields. For example, Role(s) and role
  9. In the Type Specifications tab, select a List table. For example, Role [sys_user_role] table
  10. Click Submit
  11. When going back to the Record Producer, select the Try It on the top right hand side of the header

    The slushbucket displays (as expected)
  12. In the Navigation filter, go to Service Portal > Service Portal Home
  13. Search for the record previously created
  14. Navigate into that record

    The slushbucket does not appear, but in it's place, a Select Box type variable appears.

Workaround

This is expected behaviour and by design in all currently supported releases.  Service Portal implemented a new list collector and glide list element type that looks like a reference field but allows the user to select multiple items (but not multiple items at once).

The following script is not meant to allow user to select multiple items at once. It is a new g_list api in Service Portal client scripts to add a filter and add and remove items. 
 Like this:
 
function onLoad() {
  var myListCollector = g_list.get("my_list_collector");
  myListCollector.reset();
  myListCollector.setQuery("active=true^category=8c7b22230b402200b0b02c6317673a62");
  myListCollector.addItem('3a700d39af5f4fc0aab978df90f4c692', 'Power Supply');
  myListCollector.addItem('1cb93419a3a248318da8f814140b42f6', 'Backpack');
}
 

Related Problem: PRB687167

The world works with ServiceNow.

Sign in for more! There's more content available only to authenticated users Sign in for more!
Did this KB article help you?
Did this KB article help you?

Attachments

Attachments

No attachments found

How would you rate your Now Support digital experience?

*

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

What can we improve? Please select all that apply.

What are we doing well? Please select all that apply.

Tell us more

*

Do you expect a response from this feedback?

  • Terms and conditions
  • Privacy statement
  • GDPR
  • Cookie policy
  • © 2025 ServiceNow. All rights reserved.