Can variables "Select Box" and "list collector" select multiple values when creating Catalog Items?

NickSchwartzGAI
Kilo Contributor

User would like a List collector or Select Box to list multiple custom choices on a Catalog Item. Right now I can only select one choice from these two types of variables. I see that "Checkbox" allows me to select multiple, but there are too many choices for this as they take up the entire page in this variable format. 

1 ACCEPTED SOLUTION

Mark Roethof
Tera Patron
Tera Patron

Hi there,

With the default variables available: Only with the Checkbox and the Multiple Choice you could select multiple values. So no, not with the List collector or Select Box like you are asking.

If my answer helped you in any way, please then mark it as helpful.

Kind regards,
Mark

---

LinkedIn
Community article list

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

View solution in original post

5 REPLIES 5

ezrahortensius
Giga Contributor

For anyone in the future that will read this, there is a workaround for this problem, if you really can't use checkboxes or a separate table with values.


1) First make your variable as a normal select box and insert all the options that you need. Note, that this creates new records on the question_choice table. 

2) Open the list of choices (under the related list) in a new window. This will show you the query that is required to get the specific selection of options you just created. Copy the filter (which gives you the encoded query).

3) Change the type of the variable to list collector. Select the 'question_choice' table and use the copied filter as the reference qualifier.

Now you have the combination of a list collector and select box where you can select multiple custom options in a select box like fashion.