Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Install count in Software Model is not getting updated

gvk
Tera Contributor

Hi,

 

I observed that the install count for software model is not getting updated though there are actual installs?

 

I have already checked the below:

 

1. The software model has more than 10 matching discovery models and each discovery model has associated software installations. But, the install count for software model is showing as 0

2. I ran the below script from the background but still no change

new SoftwareLicenseManager().countAll();
 
Can you please help me to fix the issue?
 
8 REPLIES 8

Allen Andreas
Tera Patron

Hi,

Have you referred to the following resource? https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0694690 


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

Thank you @Allen Andreas .

 

I ran the same script from background but no records have been updated. I can confirm that this scheduled job is running after the discovery schedules but still I can't see the count updated correctly

We are using SAM Pro application, and the installations are getting created in cmdb_sam_sw_install table

Hi,

Understood. Are the installs marked as "In use"? Please refer to the following blog related to the process which sort of helps explain things from a high level: https://www.servicenow.com/community/sam-blog/understanding-the-inner-details-of-software-install-cr... 


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!