Skip to page contentSkip to chat
ServiceNow support
    • Community
      Ask questions, give advice, and connect with fellow ServiceNow professionals.
      Developer
      Build, test, and deploy applications
      Documentation
      Find detailed information about ServiceNow products, apps, features, and releases.
      Impact
      Accelerate ROI and amplify your expertise.
      Learning
      Build skills with instructor-led and online training.
      Partner
      Grow your business with promotions, news, and marketing tools
      ServiceNow
      Learn about ServiceNow products & solutions.
      Store
      Download certified apps and integrations that complement ServiceNow.
      Support
      Manage your instances, access self-help, and get technical support.
Decommissioned Devices Showing In Unlicensed Install - Support and Troubleshooting
  • >
  • Knowledge Base
  • >
  • Support and Troubleshooting (Knowledge Base)
  • >
  • Decommissioned Devices Showing In Unlicensed Install
KB0790324

Decommissioned Devices Showing In Unlicensed Install


1351 Views Last updated : Apr 8, 2024 public Copy Permalink
KB Summary by Now Assist

Issue

  1. Some of the decommissioned devices are showing in unlicensed install.
  2. Ideally, it is expected behavior that the "Decommissioned Devices" should be removed from the "Software Installs".
  3. This URL gives the list of "Software Installs" which were present on "Decommissioned" devices. 

https://<Instance_Name>.service-now.com/cmdb_sam_sw_install_list.do?sysparm_query=installed_on.install_status%3D15%5Eproduct_result.product%3D8f109c060b3022002d6c650d37673a1a 

Release

All Versions.

Cause

  1. There is Business rule Remove Installs For Retired/Stolen CI on Computer [cmdb_ci_computer] table.
  2. This removes the records from Software Installation [cmdb_sam_sw_install] table based on the following conditions:

current.hardware_status == 'retired' || current.hardware_status == 'stolen' || current.install_status == 7 || current.install_status == 8

3. Here is the URL for the Business Rule:  https://<Instance_Name>.service-now.com/nav_to.do?uri=sys_script.do?sys_id=6799623353530300b77dddeeff7b129f

4. In one of the customer instance, there is Sys Choice 'Decommission' added to install_status, which is a custom one. https://<Instance_Name>.service-now.com/sys_choice_list.do?sysparm_query=name%3Dcmdb_ci%5EelementSTARTSWITHinstall_status

5. Because of this custom choice, the business rule did not trigger.

6. So corresponding software installs are not deleted from Software Installation [cmdb_sam_sw_install] and the decommissioned devices are showing In the "Unlicensed Install" table.

Resolution

  1. Navigate to "System Choice" with the help of below link:

https://<Instance_Name>.service-now.com/sys_choice_list.do?sysparm_query=name%3Dcmdb_ci%5EelementSTARTSWITHinstall_status

2. Check the value of the "Demomissioned" field.

3. Change the business rule condition as below so that it will be triggered for "Decommissioned" devices:

current.hardware_status == 'retired' || current.hardware_status == 'stolen' || current.install_status == 7 || current.install_status == 8 || current.install_status == 15

This is for the CIs whose status would change to "Decommission" the next time.
For the existing CIs, you can use the script which is present in the business rule: Remove Installs For Retired/Stolen CI or contact Technical Support if you need assistance regarding this.


The world works with ServiceNow.

Sign in for more! There's more content available only to authenticated users Sign in for more!
Did this KB article help you?
Did this KB article help you?

How would you rate your Now Support digital experience?

*

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

What can we improve? Please select all that apply.

What are we doing well? Please select all that apply.

Tell us more

*

Do you expect a response from this feedback?

  • Terms and conditions
  • Privacy statement
  • GDPR
  • Cookie policy
  • © 2025 ServiceNow. All rights reserved.