Filter variable values

Swapnilc191
Tera Contributor

Hi,

I am using two list collector variable called 'What device class the device belong to ?' and 'what devices they should be applied?'in catalog item servicenow. The referenced table is cmdb_ci for both.
TASK:
1. User gets to see the list of ci names. What I want is - the cmdb_ci table has a field called 'sys_class_name' which shows the class name for that CI. I want when the user clicks on variable 'What device class the device belong to ' then the CI class name should be shown but not the ci name. 

2. Based on the selected CI Class name in 'What device class the device belong to', the CI Class related CI names should only be seen in the second variable 'what devices they should be applied?'

 

How to do this?

1 ACCEPTED SOLUTION

Brad Bowman
Kilo Patron
Kilo Patron

Do you really want/need to select more than one CI Class?  It sounds like a lookup select box would be a better choice, configured like this:

BradBowman_0-1731348078856.png

Then the List collector variable will have a qualifier and attributes like this:

BradBowman_1-1731348174015.png

where v_class is the name of the class variable that is now a lookup select box type.

 

View solution in original post

1 REPLY 1

Brad Bowman
Kilo Patron
Kilo Patron

Do you really want/need to select more than one CI Class?  It sounds like a lookup select box would be a better choice, configured like this:

BradBowman_0-1731348078856.png

Then the List collector variable will have a qualifier and attributes like this:

BradBowman_1-1731348174015.png

where v_class is the name of the class variable that is now a lookup select box type.