"Status" and "Install count" fields on cmdb_ci_spkg

seberly
Giga Expert

How do the "Status" and "Install count" fields on cmdb_ci_spkg get populated?   It looks like Discovery is trying to or does in some way, but the seem to be a bit out of date.   "Install count" doesn't seem to be consistent with the "Installed on" related list, and there are records where "Install count" is 0 but the "Status" is "Installed".   Doesn't quite line up for me.   Anyone have insight here?

1 ACCEPTED SOLUTION

This effort lost steam, and I never pursued this further.  But I am sure your answer is right.  Thanks for the update!

View solution in original post

8 REPLIES 8

jake_mckenna
ServiceNow Employee
ServiceNow Employee

Very good point, and from my perspective i always suggest trying to keep it simple for those who are submitting the incidents, but maybe building a better reference to the underline cause via PRB or CHG. I guess without knowing your user base or how they would react to opening up the option to software and what they might do. I am sure you know keeping the possible CI list simple will help avoid the possibility of bad relationships in the system.



In many cases we also point these types of items to Service Offerings or Business Services in the system. I don't think the idea should go as low as Microsoft Office, but might be something like Desktop Deployment,as an example, which is supported by certain tools used for deployment.



In either case I can see many possible solutions and really my only words of caution is keeping it maintainable from a user base.


mleighton
Kilo Expert

I am sure you found this as it was 3 years ago, but the scheduled job that updates the Install Count when the Installed On is updated runs every night, and is called "Count Software Licenses"

This effort lost steam, and I never pursued this further.  But I am sure your answer is right.  Thanks for the update!

Palash Sarkar1
Giga Expert

Hi 

It is an OOB functionality. There was a schedule available in the instance “Count Software Licenses” which will run on a daily basis.


The schedule updates the install count of the software package based on the linked software instances.

You can check the scheduled job name "Count Software Licenses"

Navigator  > Scheduled Jobs > Scheduled Jobs

find_real_file.png

 

The search script includes the name "SoftwareLicenseManager" which updating the count.

Navigator  > System UI > Script Includes

 

find_real_file.png