Model category is not updated in asset

Vengadeshgiri
Tera Contributor

Hello All,

 

For some of the assets model category is not updated ,even though model contains the model category and all the classes seems perfect 

 

Does anyone have any idea?

2 REPLIES 2

Vishal Jaswal
Giga Sage

Hello @Vengadeshgiri 

Run below background script on such single asset record or all to find out whether they are actually empty/null or not:

var grAlmAsset = new GlideRecord('alm_asset');
if(grAlmAsset.get('sys_id')){
	gs.print('Model Category Sys_Id: ' + grAlmAsset.getValue('model_category') + ' || Model Category Name: ' + grAlmAsset.getDisplayValue('model_category'));
}

I would request you to look at the dictionary entry to understand Model Category field better.


Hope that helps!

Seems empty .script returns null

This is not for all the records , for some records alone

This was created by SCCM .

Was this discovery sources will also map Model category?