Running pattern pre sensor script "Create relation between UCS Balde or Rack Unit and OS" [sic] failed due to: TypeError: Cannot convert null to an object.
Steps to Reproduce
- Run Discovery of Cisco UCS in the New York release
- It fails with error below in the discovery pattern log:
Running pre sensor script- Create relation between UCS Balde or Rack Unit and OS failed due to: TypeError: Cannot convert null to an object.
This problem is currently under review. You can contact ServiceNow Technical Support or subscribe to this Known Error article by clicking the Subscribe button at the top right of this form to be notified when more information will become available.
The workaround to instantiate GlideRecordUtil and call getGlideRecordByAttribute:
var glideUtil = new GlideRecordUtil();
The attached update set contains this fix.
Related Problem: PRB1371067