- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-24-2021 05:29 AM
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
Solved! Go to Solution.
- Labels:
-
Service Catalog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-24-2021 06:00 AM
Hi,
yes it should be select box which allows for choices
I have shared the screenshot for the same
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-24-2021 05:40 AM
You should be using Choice type of variable and then create those many choice values
1) Include None
2) Then give the choices from the question choices related list
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-24-2021 05:57 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-24-2021 06:00 AM
Hi,
yes it should be select box which allows for choices
I have shared the screenshot for the same
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-24-2021 05:45 AM
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