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 in variable section within a container takes more space than required on Request Item and Catalog Task records form view - Known Error
  • >
  • Knowledge Base
  • >
  • Known Error (Knowledge Base)
  • >
  • List Collector in variable section within a container takes more space than required on Request Item and Catalog Task records form view
KB0597429

List Collector in variable section within a container takes more space than required on Request Item and Catalog Task records form view


3026 Views Last updated : Apr 7, 2024 public Copy Permalink
KB Summary by Now Assist

Description

When a list collector variable is inside a container, the second variable after the split is squeezed by the list collector and does not have enough space on the screen. Note that:
- the Layout value of the container does not matter - it can be any one of the three
- for the second variable, the type of variable does matter

Steps to Reproduce

  1. Navigate to Service Catalog > Catalog Definitions > Maintain Items
  2. Open the record for Apple iPhone 5 (it can be any other item)
  3. Go to the Variables section or tab
  4. Create five new variables following the screenshot below:
    • Container Start (select any layout out of the three)
    • List Collector
    • Container Split
    • Multiple Choice (add two-three choices - can be any other type of variable, such as Reference)
    • Container End



  5. Navigate to Service Catalog > Catalogs.
  6. Click on the Apple iPhone 5
  7. Click Order Now
  8. Note the Request Number
  9. Open the Request record
  10. Go to the corresponding Request Item record
  11. Scroll down
    Note the problem with the UI. The list collector is pushing to the right (or left based on ordering) and squeezing the Multiple Choice so that the multiple choice options are displayed on 3 separate lines



    The List Collector and the Multiple Choice should have equal or proper width, depending on Layout of the Container.

Workaround

  1. Navigate to System Definition > Client Scripts.
  2. Click New. 
    • Name: type in a name
    • Description: type in a description
    • Table: Request Item [sc_req_item] to fix request item form or Catalog Task [sc_task] to to fix catalog task form
    • Type: onLoad
    • Script:
      function onLoad() {
          $j('#ep.container').css('width', 'inherit');
      }
  3. Click Submit.
  4. Reload forms to verify the fix.


Related Problem: PRB709563

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?

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.