Notifications

175 views

Description

Our documentation lists down a process that could be used to change the source name of Discovery results.
https://docs.servicenow.com/bundle/london-it-operations-management/page/product/discovery/task/t_ChangeTheDiscoverySourceName.html

However, changing the value in system property 'glide.discovery.source_name' and disabling the choice list for previous discovery_source can cause horizontal discovery to fail.

This behavior is caused by a bug in the java code that handles horizontal discovery data received from patterns. The code checks the property glide.discovery.source_name only once at class initialization and therefore any changes to the property do not affect it and it will still pass in the original value.

Steps to Reproduce

  1. Run discovery on a host (Windows/Linux) using horizontal pattern
  2. Follow the procedure listed in our documentation to change source name of Discovery results.
    https://docs.servicenow.com/bundle/london-it-operations-management/page/product/discovery/task/t_ChangeTheDiscoverySourceName.html
  3. Ensure that the sys_choice record for the previous value in glide.discovery.source_name is disabled/removed.
  4. Run discovery on the same host.
  5. Discovery should fail with an error like the one below -
    In payload invalid data source [<replace with previous discovery_source>] exist. You need to provide a valid choice value from field [discovery_source] in table [cmdb_ci]

Workaround

This problem has been fixed. If you are able to upgrade, review the Fixed In or Intended Fix Version fields to determine whether any versions have a planned or permanent fix.

Restarting the instance is the only workaround as this is required to re-initialize the java class. Please open a Case in HI if you require Customer Support to arrange this for you.

 

Related Problem: PRB1330874

Seen In

There is no data to report.

Intended Fix Version

New York

Fixed In

London Patch 9
Madrid Patch 4

Safe Harbor Statement

This "Intended Fix Version" information is meant to outline ServiceNow's general product direction and should not be relied upon in making a purchasing decision. The information provided here is for information purposes only and may not be incorporated into any contract. It is not a commitment, promise, or legal obligation to deliver any material, code, or functionality. The development, release, and timing of any features or functionality described for our products remains at ServiceNow's sole discretion.

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2019-06-18 14:05:26
Published:2019-05-02