Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

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?

1 REPLY 1

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!