"Service Analytics RCA for Change Requests" job may run slow and take up node's memory

Steps to Reproduce

We suspect 2 main issues in the RcaITSMDataHook script include:

1. The taskSysIDArr array was keeping duplicate values for no reason that were accumulated until the explosion
2. When the getData function of this script include was called with empty arguments it queried all software with no CIs (installed_on = '')


Commit the attached update set to the impacted instance

Related Problem: PRB1433266

Seen In

SR - ITOM - Discovery and Service Mapping - 201908
SR - ITOM - Fundamentals Istanbul Jakarta Kingston r1 - v5.99.6

Intended Fix Version

Paris Patch 3

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:2020-10-11 17:16:45