- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2025 02:00 AM
After importing data into the sys_choice table using an Excel file, I am facing a problem where only the Value field is not populated with values correctly and all the values are replaced with numbers.
When I try with PDI, the data is imported correctly as per the Excel file, but in the demo instance, the Value field is all replaced with numbers.
Since the PDI is importing the data correctly, I do not think there is anything wrong with the Excel file itself.
My apologies if I have not explained it well enough.
Can anyone assist me with the above problem?
Best regards and thank you in advance for your help.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2025 02:00 AM
Since that field is of type Integer hence you are facing the issue
If you are not allowed to change the field type, then delete that field and create a new one with same name and of type String
Then load and it should work fine
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2025 02:14 AM
is this for state field?
If yes then usually state field has numbers in it choices depending on the field is on which table
Example:
if not then share some details?
why are you loading data into sys_choice table?
Why not create the choices manually in those fields
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2025 06:00 PM
Thanks for the reply.
Not for state fields, but for newly created fields.
There are 5 newly created fields and we want to load data (choices) into each field.
The total amount of data we want to load is about 580 records, and we would like to do this by importing an Excel file, not manually.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2025 07:24 PM - edited 04-15-2025 07:41 PM
field is of what type? string with choice or Choice type?
share field map screenshots for that Value column
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2025 09:27 PM
I have created 5 custom columns in the Case[sn_customerservice_case] table.
The field type is Choice type.
Here is a screenshot of the value column in the sys_choice table.
Is this screenshot correct for your request?