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.


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.addItem('3a700d39af5f4fc0aab978df90f4c692', 'Power Supply');
  myListCollector.addItem('1cb93419a3a248318da8f814140b42f6', 'Backpack');

Related Problem: PRB687167

Seen In

Eureka Patch 13 Hot Fix 5
Geneva Patch 9
Helsinki Patch 0 Hot Fix 1
Helsinki Patch 1
Helsinki Patch 5
SR - IRM - Audit Management - New York 2019 Q3
SR - IRM - GRC Profiles - Madrid 2019 Q2
SR - IRM - Policy and Compliance - Madrid 2019 Q2
SR - IRM - Risk Management - New York 2019 Q3
SR - ITOM - Discovery and Service Mapping - v1.0.35
SR - Security - Integration Framework - Madrid 2019 Q2
SR - Security - Support Common - Madrid 2019 Q2
SR - Security - Support Orchestration - Madrid 2019 Q2
SR - SIR - Security Incident Response - Madrid 2019 Q2
SR - SIR - Store SecOps Setup Assistant - Madrid 2019 Q2
SR - SIR - Store Threat Core - Madrid 2019 Q2
SR - SIR - Store Trusted Security Circles Client - New York 2019 Q3

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2020-11-16 04:04:23