Multiselect catalog item variable.

abhisek
Tera Contributor

Hi All,

 

I have to create a catalog item variable for example 'company' which has 3 values company1, company2 and company3 and multiselect should be allowed for this variable.

This 'company' variable should be visible and mandatory based on other 2 catalog item variable values which can be done through UI Policy but I am stuck with the multiselect.

Can you please help me out.

 

Thanks&Regards,

Abhisek Chattaraj.

1 ACCEPTED SOLUTION

Community Alums
Not applicable

Hi @abhisek  

You can refer to the below video to create multi-select field. Also if you need to create only 3 choices, you can create them in sys_choice table and put relevant filter in the List collector field.

 

Please mark this comment as Correct Answer/Helpful if it helped you.

 

Cheers,

Hardit Singh

View solution in original post

10 REPLIES 10

Ankur Bawiskar
Tera Patron
Tera Patron

@abhisek  

you can use label type variable and then checkbox type of variable for the options

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

@abhisek  

Any update to this?

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

@abhisek  

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

JenniferRah
Mega Sage

The only way to do multiselect is with a List Collector. I created a custom table for this purpose and called it Reference (u_reference). I added a Lookup Value field, Display Value, and Active flag. Then you can create a List Collector to that table, use the Lookup Value for the filter, and use it in multiple places.