Software model relationship to software installation

  • Release version: Yokohama
  • Updated January 30, 2025
  • 2 minutes to read
  • Summarize
    Summarized using AI
    This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.

    Summary of Software model relationship to software installation

    In ServiceNow, associating each software installation with a software model enables effective audit reporting of both licensable and non-licensable software. Software models are automatically created based on discovery data if specific system properties are enabled:

    Show full answer Show less
    • com.snc.samp.automaticsmrcreation for licensable products
    • com.snc.samp.automaticsmcreation for non-licensable products

    If these properties are enabled and a discovery model match exists, no new software model is created. Otherwise, software models are matched to discovery models, favoring the most specific model available.

    Matching Process and Conditions

    During matching, a software model with an install condition is excluded as a valid match, prompting the system to create a new software model without install conditions. The scheduled job SAM – Discovery Model to Software Model matching compares publishers and products between software models and discovery models to establish accurate associations.

    Manual Software Model Assignment

    Customers can manually override automatic matches by selecting a more generic software model directly in the Software Discovery Model form. This manual setting disables automatic overrides by the scheduled job, maintaining customer control over model assignments.

    Examples of Matching Scenarios

    • A discovery model for "SQL Server 2019 Enterprise" matches both "SQL Server 2019 Enterprise" and the more generic "SQL Server 2019" software models.
    • A discovery model for "SQL Server 2019 Enterprise" with install conditions matches the generic "SQL Server 2019" software model without install conditions.
    • A discovery model for "SQL Server 2019" with install conditions finds no software model match; if system properties are enabled, a new software model like "SQL Server Enterprise (Version is anything)" is created automatically.

    Practical Impact for ServiceNow Customers

    Understanding and managing software model relationships to installations ensures precise license tracking and audit readiness. Enabling the relevant system properties automates model creation, while manual overrides offer flexibility when needed. This approach helps maintain accurate software inventory and compliance reporting.

    Associating each software installation with a software model lets you perform audit reporting of licensable and non-licensable software.

    Overview

    Software models are automatically created for licensable and non-licensable products if the following system properties are enabled:
    • com.snc.samp.automaticsmrcreation: for licensable products
    • com.snc.samp.automaticsmcreation: for non-licensable products

    If the system properties are enabled and a discovery model match exists, even if the match is generic, a software model will not be created. If the system properties are not enabled, the software model is just matched to a discovery model; no software models are created.

    A match is made to the most specific software model. If no specific software model exists for the discovery model, then the match is made to the most generic software model.

    During the matching process, if a matching software model is found, but it has an install condition on it then it's not considered to be a match. In such a scenario, a software model is automatically created without an install condition.

    For each normalized publisher and normalized product pair in the Software Discovery Model (cmdb_sam_sw_discovery_model) table, the scheduled job, SAM – Discovery Model to Software Model matching, gets all software models with matching publisher and product. If the software model has no install condition, subscription condition, or DB option, the system gets matching discovery models with normalized publisher, normalized product, normalized edition, and normalized version values. Once a match is found, the software model reference is put on the software model column in the Software Discovery Model [cmdb_sam_sw_discovery_model] table.

    Manually set software model

    If you choose to match on a more generic software model than what the scheduled job SAM – Discovery Model to Software Model matching sets, you can manually set the desired software model in the form view on the Software Discovery Model (cmdb_sam_sw_discovery_model) table. The Automatically matched column becomes unchecked.

    If a software model is set and the Automatically matched column's value is false, the scheduled job will not override the software model value on subsequent executions.

    Sample matches

    The following are some sample scenarios of software model and discovery model matches.

    Discovery model Software models Matches with
    SQL Server 2019 Enterprise
    • SQL Server 2019 Enterprise
    • SQL Server 2019
    SQL Server 2019 Enterprise software model
    SQL Server 2019 Enterprise
    • SQL Server 2019 Enterprise with install conditions
    • SQL Server 2019 (Edition is anything)
    SQL Server 2019 software model​​
    SQL Server 2019 SQL Server 2019 with install conditions (Edition is anything)​

    No match found.

    If the system property is enabled, a new software model will be created: SQL Server Enterprise (Version is anything)​.