Notifications

492 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.

Fixed In

Kingston Patch 10
London Patch 2
Madrid

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2019-05-21 11:38:44
Published:2018-10-12