Dropdown Variable for catalog item

Amey3
Giga Expert

I have one catalog item.

in that catalog item variables I need one variable name "choose Year"

This Choose Year Variable, have 3 options such as year 2021, year 2022, year 2023 along with none option with as default choice.

How can we achieve this.

for refer or to admire the requirement:-this should be similar like take any INC,PRB,CHG table choice field with dropdown none option as default.

Any Help on This

Thank 

Amey

 

1 ACCEPTED SOLUTION

Hi,

yes it should be select box which allows for choices

I have shared the screenshot for the same

Regards
Ankur

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

View solution in original post

4 REPLIES 4

Ankur Bawiskar
Tera Patron
Tera Patron

@Amey 

You should be using Choice type of variable and then create those many choice values

Variable Types

1) Include None

2) Then give the choices from the question choices related list

find_real_file.png

Regards
Ankur

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

Should I select the Type as Select Box?

I am not able to find any variable type as "choice" like we see in other Native UI Table such as INC,PRB...etc

Thanks

Amey

Hi,

yes it should be select box which allows for choices

I have shared the screenshot for the same

Regards
Ankur

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

IbrahimVali
Tera Guru

 

find_real_file.png
You can simply create one variable with Multiple choice, If you give any value in Default Value Section, it will use as default value.

If you need exactly dropdown, you can use Variable's type as "Select box" and you can give options in the related list 'Question choices' 

Please mark as correct answer, if it helps

 

Thanks,
Ibrahim