How to add multiple items in Question Choice?

Vengeful
Mega Sage

Hi,

We have a variable type select box Report Name. And we need to add more than 20 Question Choices.

How can I add it via import?

Merza_0-1707189442147.png

 

1 ACCEPTED SOLUTION

Sujit Jadhav
Tera Guru

To add more than 20 question choices to a variable of type select box (dropdown) in ServiceNow via import, you can use the Import Sets functionality. Here's a step-by-step guide:

Prepare Data for Import:

Create a CSV file containing the data you want to import. Each row should represent a question choice.
Ensure that the CSV file has a column header that matches the variable name (e.g., "Report Name") to which you want to add choices.
Set up an Import Set Table:

Navigate to "System Import Sets" > "Import Sets".
Click on "New" to create a new Import Set table.
Define the table and field mappings for your CSV file. Map the "Report Name" column from your CSV to the appropriate field in the Import Set table.
Upload the CSV File:

Go to "System Import Sets" > "Import Sets".
Click on the Import Set table you created in step 2.
Click on "Load Data" and upload the CSV file.
Transform and Validate Data:

After uploading, ServiceNow will attempt to transform and validate the data.
Ensure that the data is correctly mapped and transformed. ServiceNow will highlight any errors or issues that need to be addressed.
Import Data:

Once the data is successfully transformed and validated, click on "Commit" to import the data into ServiceNow.
Verify the Variable:

After the import is complete, navigate to the form or table where the variable of type select box (dropdown) is located.
Check the list of choices for the "Report Name" variable to ensure that the new choices have been added successfully.
By following these steps, you should be able to import more than 20 question choices into a variable of type select box in ServiceNow efficiently. Make sure to review the data and mappings carefully to avoid any errors during the import process.

View solution in original post

5 REPLIES 5

Hi @Jim Coyne I am not sure if you are referring to the Reports table in SN, but it's not the report table I need. Our customer have a Sharepoint site where all they reports are uploaded, they requested to create a catalog item where user can file RITM to access those reports. However, they have more than 20 reports which we need to add as a choices. 
I tried to use your tool, downloaded the xml but it's retrieving on my personal developer instance to try it.