Variable Reference Qualifier from Script Include

Mark Brogna
Tera Contributor

I have created a script include returning a list of distinct manufacturers found in the cmdb_software_product_model table.

MarkBrogna_0-1742505566150.png

 

It works perfectly when called from a background script, which I did for testing.

MarkBrogna_1-1742505642299.png

 

Here is my result from running the background script:

MarkBrogna_2-1742505686506.png

 

However, when applying it as a reference qualifier on a variable (referencing the core_company table) on a catalog item, it returns all manufacturers in the core_company table.

 

MarkBrogna_3-1742506121507.png

Thoughts on why my reference qualifier isn't working?

1 REPLY 1

Mark Brogna
Tera Contributor

disregard ... I wasn't returning the value from the script include.