Discovery to IBM Mainframe using pattern "IBM zOS Server" has error in Payload processing: Identification CI Errors: Abandoned due to too many errors,Found multiple dependent relation items


Description

Discovery to IBM Mainframe using pattern "IBM zOS Server" has error in Payload processing: Identification CI Errors: Abandoned due to too many errors,Found multiple dependent relation items.
Happens when there are 10 or more CPUs on the target server.

Steps to Reproduce

Run discovery to IBM Mainframe server running z/OS that has 10 or more CPUs

Workaround

If you are able to upgrade, review the "Intended Fix Version" section below to determine the versions that have a permanent fix.

If upgrade is not possible, you can use below workaround.

(Please note: once an out of box script is changed, it will be skipped during platform upgrade.

Then you can either manually revert it to OOB after platform upgrade, or follow below doc to force it to be overwritten during platform upgrade:

On https://docs.servicenow.com/, search for "Overwrite customizations during an upgrade"

)

1> Create a new step under step 8. Set Serial Number and model, with pattern operation: Set Parameter Value.
name: $notInUse
value: EVAL()

2> modify the eval script, add javascript below:
var tableWithoutDuplicates = '';
tableWithoutDuplicates = DuplicateRemover.removeDuplicates(${serial_number_table},["serial_number","model"]); CTX.setAttribute("serial_number_table",tableWithoutDuplicates);


Related Problem: PRB1396216