Error Reference

Variable set not loading: catalog item variables not appearing

Variable set not loading: catalog item variables not appearing

Where this appears

This error occurs when variables from an attached variable set fail to display on a catalog item request form in Service Portal or the platform UI. Users may notice missing form fields or incomplete variable sets when ordering catalog items. The issue may appear during form rendering or be visible in browser console errors.

Sourdough
Chrome Extension

Debugging this in a real instance?

Sourdough lets you trace "Variable set not loading: catalog item variables not appearing" through system logs, script errors, and API health in the ServiceNow tab you are already using.

Add to Chrome

Free to install. Pro $5/month after a 14-day no-card trial.
Pro requires the ServiceNow admin role. Upgrade inside the extension.

Overview
Tasks
CMDB
API
Metrics
Monitor
Internals
Instance:sourdoughdev·Version:Yokohama
Instance StateONLINE
System StatusFully Operational
Session Timeout90 minutes
Logged-In Sessions2 (20 active)
Build Nameyokohama-12-18-2024_p1
IP Address10.159.128.43
Instance HealthHealth Score: 90%
🔥 5dSourdough (Chrome Plugin)Dark Mode

Cause

Variable set is marked as inactive in the Item Option Sets table (sc_cat_item_option_set) or the Variable Set table (item_option_new_set) (high likelihood)

Variable set order value conflicts with other variable sets or individual variables on the same catalog item (high likelihood)

Client script or UI policy is programmatically hiding the variable set based on conditions or user inputs (medium likelihood)

Variable set type is set to 'one_to_many' but the catalog item configuration expects 'one_to_one' relationship (medium likelihood)

ACL restrictions or user role permissions preventing access to variables within the variable set (low likelihood)

Fix

Step 1: Navigate to Service Catalog > Catalog Definitions > Maintain Items and open the affected catalog item to verify the variable set is properly attached in the Variable Sets related list.

Step 2: Check the Active field in the Item Option Sets table (sc_cat_item_option_set) for the relationship between your catalog item and variable set to ensure it's set to true.

Step 3: Open the variable set record in Service Catalog > Variable Sets and verify the Active field is checked and the Type field is set correctly (usually 'one_to_one').

Step 4: Review the Order field values for all variable sets and individual variables on the catalog item to ensure there are no conflicts or duplicate order numbers.

Step 5: Test the catalog item in an incognito browser window or as a different user to rule out client-side caching or user-specific issues affecting variable display.

Step 6: Check for client scripts or UI policies on the catalog item that may be hiding the variable set using g_form.setDisplay() or similar methods in the script conditions.

Step 7: Verify user permissions by checking if the affected user has read access to the variable set and its individual variables through Access Controls (ACLs).

Step 8: Clear the cache using System Definition > Cache Administration or append ?sys_kb_id=cache to flush catalog-specific cache if variables still don't appear.

Test Your Knowledge

Quick 3-question quiz. See how your ServiceNow skills stack up.

Question 1 of 3Performance

A list view on a table with millions of records is slow. Best fix?

Select an answer to continue