List Collector variable with mandatory UI Policy on a Catalog item shows "on loading" on submitted sc_req_item records and a console error is displayed.

Steps to Reproduce


  1. Go to the sc_req_item record, right-click in the header, and choose Configure Form Layout.

  2. Add the variable editor formatter on the form if it is not already present.

    For more information, see the product documentation topic Service Catalog variable editor.

  3. Create a new catalog item named "test collector".

    For more information, see the product documentation topic Create or edit a catalog item.

  4. Create a Yes/No variable: var1.

  5. Create a list collector variable: "list Collector test" and use any reference table for the list, for example, sys_user table.

  6. Create a catalog UI policy with the following values:

    • Conditions If yes/no var1 = NO
    • Check the checkbox on "Applies on a Catalog Item view" and "Applies on Requested Items"

    For more information, see the product documentation topic Create a UI policy for catalog items.

  7. Create a catalog UI policy action for the list collector variable named "list Collector test" with the following values:

    • Set mandatory to true
    • Set visible to true
  8. Go to the newly created item "test collector", and click Try It to create a record.

  9. Go to the created sc_req_item record.

    Note the "Loading" in the left list field and console error when you inspect the element rather than the list records from the reference table displaying. Also, note the console error.





Create a new system property named glide.sc.use_sc_form_v2 and set its value to false.

Related Problem: PRB1252274

Seen In

There is no data to report.

Intended Fix Version


Fixed In

Kingston Patch 4

Safe Harbor Statement

This "Intended Fix Version" information is meant to outline ServiceNow's general product direction and should not be relied upon in making a purchasing decision. The information provided here is for information purposes only and may not be incorporated into any contract. It is not a commitment, promise, or legal obligation to deliver any material, code, or functionality. The development, release, and timing of any features or functionality described for our products remains at ServiceNow's sole discretion.

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2018-06-15 14:05:30