Multiple selection in catalog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-22-2017 05:25 AM
Hi,
There is one variable in catalog and that is referring to cmdb_ci --- OS name i.e choice table which is having more than 100 choices.
So now if I want to have multiple selection of choice done at same time and transfer all of the choices selected to one of the new CI created and store all choices selected in that table choice value field ,So how this can be performed.
Thanks
Vibhor
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-22-2017 05:30 AM
Hi Vibhor,
Why not create it as slushbucket i.e. list collector so that user can select multiple values.
After selecting multiple values what is further requirement.
Do you want to fetch the values selected and insert them in some table.
Mark Correct if this solves your issue and also hit Like and Helpful if you find my response worthy based on the impact.
Thanks
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
‎08-22-2017 05:49 AM
Hi Ankur,
But list collector ask for table name not for choice field of that table.
Because i have choice values under cmdb_ci table.
And when the multiple selection is done in catalog then I want to store all of them in some other choice table field.
Thanks
Vibhor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-22-2017 05:52 AM
Hi Vibhor,
Got it.
So why not create a custom table to store the choices with same name and have list collector reference to this new table.
In this way you can allow user to select multiple options and then perform necessary steps in server side script.
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
‎08-22-2017 05:56 AM
I agree with Ankur.
On catalog it is better to have a slushbucket for multiple selection.
I was suing the slush bucket in my record producer for selecting server and that was referring to cmdb_ci_server table.
The same you can impement with your table name.
Regards,
Shamma