Install count for software models
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2024 11:11 AM
Hi Experts,
I am checking the field "Install count" in Software Models table, when this field will be updated?
which script will update this field and how frequent it will be? I see a discrepancy with count when I report on cmdb_sam_sw_install table for the same software.
- Labels:
-
Hi Ex
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2024 11:27 AM
Hi,
The install_count field is updated by a script which is kicked off by an OOB scheduled job "Count Software Licenses" which runs daily. This job can be scheduled in such a way that it runs after the scheduled discoveries for that day, so that the "install_count" field value is closest to the number records on 'Installed On' related list.
please refer to below KB Article:
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0694690
Thanks& Regards,
Sumanth Meda
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2024 02:09 AM
Thank you, I ran the same script from background and looks like there is no affect and the installation count is not getting re-calculated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2024 11:41 AM
Hi @gvk ,
You can check the scheduled job "Count Software Licenses" and navigate to script include "SoftwareLicenseManager" for calculation logic.
-Thanks,
AshishKM
Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2024 02:22 AM
Thank you, I ran the same script from background and looks like there is no affect and the installation count is not getting re-calculated.