Skip to page contentSkip to chat
ServiceNow support
    • Community
      Ask questions, give advice, and connect with fellow ServiceNow professionals.
      Developer
      Build, test, and deploy applications
      Documentation
      Find detailed information about ServiceNow products, apps, features, and releases.
      Impact
      Accelerate ROI and amplify your expertise.
      Learning
      Build skills with instructor-led and online training.
      Partner
      Grow your business with promotions, news, and marketing tools
      ServiceNow
      Learn about ServiceNow products & solutions.
      Store
      Download certified apps and integrations that complement ServiceNow.
      Support
      Manage your instances, access self-help, and get technical support.
On data imports, transformations to choice field with more than 40 characters are truncated and might not match those choices - Known Error
  • >
  • Knowledge Base
  • >
  • Known Error (Knowledge Base)
  • >
  • On data imports, transformations to choice field with more than 40 characters are truncated and might not match those choices
KB0677334

On data imports, transformations to choice field with more than 40 characters are truncated and might not match those choices


4029 Views Last updated : Dec 5, 2024 public Copy Permalink
KB Summary by Now Assist

Description

The error "Choice field value for <table_name.field_name> rejected: <value>" happens while trying to insert the choice field value of more than 40 characters via import set.

Error received

Steps to Reproduce

  1. Create a field 'it_component_category_l3u_level_3' of type choice in the task table.
    1.1 Add the value of more than 40 characters to that choice field. e.g. "Vulnerability Remediation (Security Related Risks)". This works fine on the interface
  2. Create a excel file with columns number, and u_level_3

    numberlevel_3
    INC000002 Vulnerability Remediation (Security Related Risks)
  3. Create a data source from the excel file. Click "load all records"
  4. Once the import set table is created, create the transform map with the target table as incident, and have the choice action as "reject" in the field map of the choice field. Map number = number, u_level_3 = it_component_category_l3u_level_3
    6. Transform the data

    Now you will find the error in the import set rows

    We expected the system would throw valid error that the field value exceeded the choice field value limit or work like on the UI interface that allow larger values.
    However, it throws a misleading "rejection" error, so it is hard to find the reason for rejection.

    Note: The above mentioned issue doesn't happens when we update the field manually via UI and we are successfully able to update the field, this happens only if we try to insert the choice field record of more than 40 characters through import set.

    Transformation

Workaround

Please ensure all the choice values are 40 or less than 40 characters. The labels can be longer, but the values are limited on the system itself.


Related Problem: PRB1250700

The world works with ServiceNow.

Sign in for more! There's more content available only to authenticated users Sign in for more!
Did this KB article help you?
Did this KB article help you?

How would you rate your Now Support digital experience?

*

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

What can we improve? Please select all that apply.

What are we doing well? Please select all that apply.

Tell us more

*

Do you expect a response from this feedback?

  • Terms and conditions
  • Privacy statement
  • GDPR
  • Cookie policy
  • © 2025 ServiceNow. All rights reserved.