I want to make a custom multiple select variable for a catalog item.

UjjwalA35062584
Tera Contributor

I want to create a custom variable such that user can select multiple options form the choices such that the choices are added and not referred to any table i.e. I want a custom variable which take choices like select box but user can select multiple choices like list collector. Also, I want solution such that it can be reused multiple times and i can create it for different catalog items with different choices without change the code but by just changing the choices through the backend form only. Please tell how I can achieve this.

9 REPLIES 9

Hi @UjjwalA35062584 

 

Check Box

A

B

C

you can multi choice type.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

Pooja58
Kilo Sage

Hi @UjjwalA35062584 ,

 

If you want to choose multiple items like list collector then create these choices in sys_choice table. with element name. And create a list type field on the table and in reference qualifier mention element is "your element name".

If you want to reuse these choices better to create them on Parent table.

 

Pooja58_0-1740052724909.png

Pooja58_2-1740052763710.png

 

Pooja58_4-1740052818257.png

 

 

Kindly mark it as correct/helpful if this solves your issue.

 

Best Regards,

Pooja

 

 

Hi @UjjwalA35062584 ,

Did you get chance to go through my response. If it helps please mark it as correct/helpful, accepted solution

 

Best Regards,

Pooja

Ankur Bawiskar
Tera Patron
Tera Patron

@UjjwalA35062584 

only option is to have list collector referring to choice table and add your choices there

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

@UjjwalA35062584 

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