Product models created automatically

tommyjensen
Giga Expert

I am importing assets and models from a excell sheet.

First I create the models from the sheet and fill in fields: Name, Display name, Model number

Then I create assets from the same sheet.

For some of the assets an empty product model is created where only Display name is filled for other assets the correct model created earlier is set properly.

I suspect that this is caused if there are more models with the same name but different model number.

I have tried to find out where the model is created automatically but cannot find it. Can anybody point me in the rigth direction? I have checked the script that runs of the field model on the asset table =ModelAndCategoryFilters.assetModelRefQual() I have checked business rules on asset table,

5 REPLIES 5

tommyjensen
Giga Expert

Does nobody know what triggers a new model being created when importing assets from an excell sheet ?


tommyjensen
Giga Expert

Nobody ?


Hi Tommy



Did u get a solution to this?


Faisal Dadabhoy
ServiceNow Employee
ServiceNow Employee

This is part of some new changes in the instance in vancouver release

There is a Business Rule called "Populate Application Model" and within the business rule it calls a script  include "new APMUtils().getOrCreateApplicationModelForBusinessApplication(current.getValue('name'));" which is creating the models. 
i think we should have a property that should control this behavior