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.
ATF setting values to list collector variable does not work and generates the error "Not able to submit as mandatory field is not filled" - Known Error
  • >
  • Knowledge Base
  • >
  • Known Error (Knowledge Base)
  • >
  • ATF setting values to list collector variable does not work and generates the error "Not able to submit as mandatory field is not filled"
KB0713770

ATF setting values to list collector variable does not work and generates the error "Not able to submit as mandatory field is not filled"


4930 Views Last updated : Apr 24, 2024 public Copy Permalink
KB Summary by Now Assist

Description

In ATF setting values to list collector variable is not working with the error "Not able to submit as mandatory field is not filled".

Steps to Reproduce

  1. Create a new test case.
  2. Write an ATF step to open existing catalog item such as "Report Mass Outage".
  3. Write an ATF step to fill values to the catalog item using "Set Variable Values" step configuration.
  4. Provide the sys_IDs in comma separated format as input parameter in step config.
  5. Write a step to submit catalog.
  6. Run the test case. The execution will fail with error "Not able to submit as mandatory field is not filled", due to a mandatory field "Which Servers are impacted?" which is a list collector that was not filled in steps 3-4.

Workaround

As documented in Types of service catalog variables, g_form.setValue() is not supported for List Collector Variable if it is of type slushbucket. List Collector with glide_list attribute works correctly with the g_form.setValue() api. ATF uses the g_form API so, if g_form is not supported for a variable, the ATF for that Variable will not run.

As a workaround, set glide_list as attribute for the List Collector. 

NOTE: This modifies metadata and will affect all users.


Related Problem: PRB1250938

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.