How to show specific data in list collector without using reference qualifier?

abhi710
Tera Contributor

Hi,
There is an "env"  list collector variable in variable set used in different catalog items. I want that env variable to show only specific data for specific catalog item. I cannot use reference qualifier as it would impact other catalog items; used catalog client script to display only required value but that code is not supported in VA. How to approach on this requirement? Is there any code to achieve his which supports on platform ui/portal/VA.
Thanks

5 REPLIES 5

Ankur Bawiskar
Tera Patron
Tera Patron

@abhi710 

not possible to restrict via reference qualifier as it will impact all catalog forms.

Why not hide that list collector present within variable set from your specific catalog item and create a new one?

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

@Ankur Bawiskar 
 If we hide the variable in variable set for specific catalog item and create a new variable with same name is impacting the mapping; value will not get mapped to RITM. How to overcome this?

@abhi710 

if you are able to create a new variable with same name as that of your variable set in your catalog item directly then you need not change in much places

But please check workflow, flow or business rule, notifications etc if any impact.

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

@abhi710 

Hope you are doing good.

Did my reply answer your question?

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