16 views

Description

If the [pa_indicator_breakdowns] table is populated with invalid indicator-breakdown relationship links (with the indicator or the breakdown fields empty), the PA Indicator REST API will return an invalid response. 

 

Steps to Reproduce

1. Navigate to System Maintenance >  Scripts Background
 
2. Execute the following script:
 
var gr = new GlideRecord('pa_indicator_breakdowns');
gr.initialize();
gr.setWorkflow(false);
gr.setforesUpdate(true);
gr.setValue('indicator', '<some indicator id>');
gr.update();
 
3.  From the REST API explorer, execute the PA Indicator REST GET API api/now/pa/indicators/<indicator id>

Workaround

This issue was fixed since Kingston Patch 10. Please review the Fixed In section to determine the latest available patch your instance can be upgraded to.

As a workaround on earlier versions, delete the invalid records, then the widget should refresh with no error. Also make sure that there are no duplicate indicator-breakdown relationships. If the instance is domain-separated, do not delete duplicates, but check with SN support.

 


Related Problem: PRB1293827

Seen In

There is no data to report.

Intended Fix Version

Kingston Patch 10
Madrid

Fixed In

London Patch 2

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:2018-10-12 02:45:21
Published:2018-10-12