catalog item using variable which is linked in the variable list as well as variable set [Redundant]

Sachin Gavhane
Giga Guru

Hi Team,

I wanted to replace all the variables used in my catalog item into variable set and use variable set instead of variables.
While doing so, now I can see that same variable is now available in the variable list as well as in the variable set.
Showing redundant variables on the form.
How I can detach variable from the catalog item variable list and just keep it in the variable set used by that catalog item.

Deleting variable from the variable list doesnt work as it deletes variable from the variable set as well.

Please help in finding solution

1 ACCEPTED SOLUTION

SumithraM
Tera Expert

@Sachin Gavhane ,

 

The issue here is because, variable is referenced to both Variable set and Catalog item.
Go to item_option_new.LIST from Navigator, 
Filter out for the Variables that you have as part of the Variable set.
You will notice that Variable is having both Variable Set and Catalog Item referenced. You need to remove the Catalog Item referenced from the variable.

SumithraM_0-1751004743092.png


Can you try removing the Catalog item referenced and check once?

 

If my answer has helped , please mark my answer as the accepted solution.

View solution in original post

2 REPLIES 2

SumithraM
Tera Expert

@Sachin Gavhane ,

 

The issue here is because, variable is referenced to both Variable set and Catalog item.
Go to item_option_new.LIST from Navigator, 
Filter out for the Variables that you have as part of the Variable set.
You will notice that Variable is having both Variable Set and Catalog Item referenced. You need to remove the Catalog Item referenced from the variable.

SumithraM_0-1751004743092.png


Can you try removing the Catalog item referenced and check once?

 

If my answer has helped , please mark my answer as the accepted solution.

Ankur Bawiskar
Tera Patron
Tera Patron

@Sachin Gavhane 

Follow the steps shared by @SumithraM and clear the "Catalog Item" field and then it will be associated with only Variable Set.

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader