Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

Installed with the legacy Software Asset Management plugin

A number of tables, properties, user roles, script includes, client scripts, UI policies, and business rules are installed with the legacy Software Asset Management (com.snc.software_asset_management) plugin.

Note: Demo data is available with the legacy Software Asset Management (com.snc.software_asset_management) plugin.

Tables

The legacy Software Asset Management (com.snc.software_asset_management) plugin adds the following tables.

TableDescription
Processor Definition \[cmdb\_processor\_definition\]Describes a computer in terms of the attributes IBM uses for its PVU licensing model. If they are all identical in terms of the attributes used for PVU licensing, a row can be associated with one or more discovered computers.
Processor Mapping \[sam\_processor\_mapping\]Encodes the information specified by the IBM Table of Processor Value Units per core and is used in matching a computer's processor definition to a PVU cost for that computer. Each row in this table is a mapping between a set of processors and the associated PVU cost \(per core\).
Software Counter \[sam\_sw\_counter\]Configures license counting options for software models.
Software Counter Compliance Violations \[sam\_sw\_counter\_violation\]Stores records of software counter compliance issues that are due to violations other than installs exceeding rights, such as:- Maximum CPU/user count exceeded, based on model limits. - Maximum or minimum rights rules not followed, based on model limits. - Options installed on a server with a license that does not support options \(Oracle\).
Software Counter Detail \[sam\_sw\_counter\_detail\]Reconciles a software installation or usage with its corresponding software license and entitlement. The software counting logic automatically generates and maintains these records.
Software Counter History \[sam\_sw\_counter\_history\]Stores read-only copies of software counter records, which the system generates automatically each time a software counter finishes counting licenses.
Software Counter Result \[sam\_sw\_counter\_result\]Records all software counter results. Organizes the results based on the Grouping field \(such as Company, Department, or Location\) on the Software Counter record.
Software Counter Summary \[sam\_sw\_counter\_summary\]Aggregates all the software counter details for a given allocation state, a given group, and a given software counter. The software counting logic automatically generates and maintains these records.
Software Discovery Model \[cmdb\_sam\_sw\_discovery\_model\]Stores a unique and definitive list of all software found by a discovery tool.
Software Installation \[cmdb\_sam\_sw\_install\]Associates software discovery models and the hardware on which they are installed.
Software Usage \[cmdb\_sam\_sw\_usage\]Associates software discovery models and the hardware that uses the models. ServiceNow Discovery does not populate the Software Usage \[cmdb\_sam\_sw\_usage\] table. Use a third-party tool to add information about software assets to the Software Usage table.

Properties

The legacy Software Asset Management (com.snc.software_asset_management) plugin adds the following system properties.

NameDescription
sam.install\_deletion\_deadlineDefines the number of days after which a software install is deleted if not discovered with the configuration item. Use a value that is greater than the number of days between consecutive discovery runs.- Type: integer - Default value: 7 - Location: System Properties \[sys\_properties\] table

User roles

The legacy Software Asset Management (com.snc.software_asset_management) plugin adds the following user roles.

RoleContains rolesDescription
saminventory\_user contract\_manager category\_manager financial\_mgmt\_userCan create, edit, change, and manage software licenses. Can edit the Software model field on a Discovery model. Can approve a model. Has full control of the Legacy Software Asset Management plugin. Controls the legacy IBM PVU Process Pack, if activated.

Script includes

The legacy Software Asset Management (com.snc.software_asset_management) plugin adds the following script includes.

NameDescription
DiscoveryModelMatcherMatches a discovery model with a software product model.
ProcessorDefinitionsUtilsContains utilities for managing the Processor Definition [cmdb_processor_definition] table.
ProcessorValueUnitsUtilsContains logic that determines the IBM PVU pricing associated with a given processor. Also generates an event when a processor mapping is not found.
SAMMigrationDeprecated. Used by the fix job that migrates software license management data to the legacy Software Asset Management (com.snc.software_asset_management) plugin.
SAMSuiteEngineContains functions for handling suite inference on software installations.
SAMUtilGenerates models and counters for the legacy Software Asset Management (com.snc.software_asset_management) plugin.

Client scripts

The legacy Software Asset Management (com.snc.software_asset_management) plugin adds the following client scripts.

NameTableDescription
Clean up CounterSoftware Counter [sam_sw_counter]Ensures integrity between the various counting options of a software counter.
Deactivate automatched checkboxSoftware Discovery Model [cmdb_sam_sw_discovery_model]Deactivates the automatically matched check box when a user edits the software model.
Notify if counter in progressSoftware Counter [sam_sw_counter]Displays a message if the counter is currently running.

UI policies

The legacy Software Asset Management (com.snc.software_asset_management) plugin adds the following UI policies.

NameTableDescription
Enforce Installs per licenseSoftware Counter [sam_sw_counter]Makes the Installs per license field mandatory when the software counter License type is By number of users.
Handle custom countsLicense Calculation [sam_sw_license_calculation]Displays the fields for entitlement type and valuation script when Count by is set to custom.
Hide condition fieldsSoftware Counter [sam_sw_counter]Hides the Software usage condition field if the license calculation query table is set to Software install and hides the Software install condition field if the license calculation query table is set to Software usage.
Hide query tableSoftware Counter [sam_sw_counter]Hides the Query table field on the Software Counter form.

Business rules

The legacy Software Asset Management (com.snc.software_asset_management) plugin adds the following business rules.

NameTableDescription
assign processorComputer \[cmdb\_ci\_computer\]Attempts to match a processor with a processor definition.
Build Primary KeySoftware Installation \[cmdb\_sam\_sw\_install\]Sets the primary key for the record to the serial number on the \[cmdb\_sam\_sw\_install\] table. If the serial number is empty, the rule creates one based on the publisher, display name, product ID, version, and revision.
Build Primary KeySoftware Usage \[cmdb\_sam\_sw\_usage\]Creates the primary key for the record from the publisher, name, product ID, and version number on the \[cmdb\_sam\_sw\_usage\] table.
Check for software suiteSoftware Installation \[cmdb\_sam\_sw\_install\]Checks if the current software install is part of a software suite.
Check for suite omissionSoftware Installation \[cmdb\_sam\_sw\_install\]Checks if the current software install should be omitted from any suites.
Clean up CacheSoftware License \[alm\_license\]Removes the cache for the counter of the software license record when a software license is deleted.
Clean up software normalizationSoftware Installation \[cmdb\_sam\_sw\_install\]Deletes the discovery model if the discovery model is changed and it is not used by other software installs. This rule is not enabled by default.
Clear install and usage recordsSoftware Counter Summary \[sam\_sw\_counter\_summary\]Uncaches all related install and usage records when a software counter summary is deleted.
Clear normalized flagSoftware Usage \[cmdb\_sam\_sw\_usage\]Clears normalized flag on certain field changes.
Clear normalized flagSoftware Installation \[cmdb\_sam\_sw\_install\]Clears the is\_normalized check box when a field value is changed from a normalized value.
CPU/Core count changeComputer \[cmdb\_ci\_computer\]Clears the Cached check box on related software installs when the CPU count or CPU core count changes.
Create a Software NormalizationSoftware Installation \[cmdb\_sam\_sw\_install\]Links the record to the discovery model with that primary key on the \[cmdb\_sam\_sw\_install\] table if the primary key changes. The business rule creates a discovery model if none exist for that primary key.
Create a Software NormalizationSoftware Usage \[cmdb\_sam\_sw\_usage\]Links the record to the discovery model with that primary key on the \[cmdb\_sam\_sw\_usage\] table if the primary key changes. The business rule creates a discovery model if none exist for that primary key.
Delete cached count resultsSoftware License \[alm\_license\]Marks the software counter results to be recounted when one or more fields on a license have changed. This script runs after a change to a field that a counter can be grouped on, such as location, department, company, cost\_center, entitlement\_condition, or assigned\_condition. If one or more of these fields changes, then the script sets the Recount field to true on any cached counter results matching the previous value. When the counter runs, the results with Recount set to true are treated as non-cached results and are recounted. For example, if Location on a license was Americas and changes to EMEA, cached results for Americas will have Recount set to true for the next count.
Delete Cached row entryLicense Entitlement \[alm\_entitlement\]When an entitlement is deleted:- Deletes all related software counter details. - Clears the Cached check box on the related software install.
Drop counter CacheSoftware Counter \[sam\_sw\_counter\]Clears the Cached check box for the software counter if the grouping, license type, contract, or installs per license change in a software counter. Added enforce field changes to the conditions
Flag counter to reprocessSoftware Upgrade and Downgrades \[cmdb\_m2m\_downgrade\_model\]Clears the Cached check box for all related software counters if the upgrade parent or downgrade child values are changed or deleted.
Flag counter to reprocessSoftware Suite \[cmdb\_m2m\_suite\_model\]Clears the Cached check box for all related software counters if the suite parent or suite child values are changed or deleted.
invalidate sw install cacheComputer \[cmdb\_ci\_computer\]Uncaches all install and usage records referencing a computer when the computer's processor field is changed.
Limit license metricLicense \[alm\_license\]Limits software licenses to a single license metric value.
Limit license metric combinationsHardware \[cmdb\_ci\_hardware\]Rejects license metric combinations of the same type, such as CAL \(user\) and CAL \(devices\).
Link to ModelSoftware Discovery Model \[cmdb\_sam\_sw\_discovery\_model\]Finds and sets the model field to the model that best corresponds to the record when a software discovery model is created.
Mark install for suite omissionLicense Entitlement \[alm\_entitlement\]Searches for any matching installs and marks them for suite omission.
One and only one default mappingProcessor Mapping \[sam\_processor\_mapping\]Ensures only one default mapping by resetting the last resort flag for modified records and setting it to false for new records.
Process cache resetSoftware Installation \[cmdb\_sam\_sw\_install\]Resets the install of any counter information when it becomes uncached.
Process suite component deletionSoftware Installation \[cmdb\_sam\_sw\_install\]Updates all other members of an install's suite if the install is deleted.
rebind processor definitionsProcessor Mapping \[sam\_processor\_mapping\]Refreshes processor definitions when a processor mapping changes.
Rebuild CacheSoftware Discovery Model \[cmdb\_sam\_sw\_discovery\_model\]Clears the Cached field on the software counter if the associated software model is modified on the software discovery model record.
Rebuild inferred suite and cachedSoftware Discovery Model \[cmdb\_sam\_sw\_discovery\_model\]Clears the cached flag and inferred suite field on records referencing this discovery model, when the matched model changes.
Remove cached flagSoftware Installation \[cmdb\_sam\_sw\_install\]Clears the corresponding cached software counter details if a software installation is deleted or if the configuration item on which it is installed changes.
Remove cached flagSoftware Usage \[cmdb\_sam\_sw\_usage\]Clears the corresponding cached software counter details if a software usage record is deleted or if the configuration item from which the software is accessed changes.
Remove caches from detailSoftware Counter Detail \[sam\_sw\_counter\_detail\]Clears the Cached check box on the related entitlement, installation, and usage records if they exist.
Reset counter info on suite changeSoftware Installation \[cmdb\_sam\_sw\_install\]Uncaches and resets counter information on the install if its inferred suite changes.
Reset Installs per LicenseSoftware Counter \[sam\_sw\_counter\]Clears the Installations per license fields if the counter license type is not per user.
Retrieve PVU MappingProcessor Definition \[cmdb\_processor\_definition\]Finds a matching processor mapping based on the information of the processor definition.
SAM: Core ProcessGlobal \[global\]Not used for any processing.
Set Display nameSoftware Counter Result \[sam\_sw\_counter\_result\]Sets the display name of the counter result to the counter name with the grouping type.
Set normalized fieldsSoftware Usage \[cmdb\_sam\_sw\_usage\]Sets normalized fields on insert to be copies of discovered fields.
Set normalized fieldsSoftware Installation \[cmdb\_sam\_sw\_install\]Copies the given values as their normalized values when a software install is inserted.
Sync Software PackageSoftware Discovery Model \[cmdb\_sam\_sw\_discovery\_model\]Creates a row in the package table to reflect the row in the discovery model table.
Update CacheSoftware Installation \[cmdb\_sam\_sw\_install\]Updates all corresponding cached software counter details if usage metrics for this installation change.
Update CacheSoftware Usage \[cmdb\_sam\_sw\_usage\]Updates all corresponding cached software counter details if usage metrics for this software usage change.

References

The legacy Software Asset Management (com.snc.software_asset_management) plugin adds the following references.

NameDescription
Processor DefinitionIf you activated the legacy IBM PVU Process Pack after activating the legacy Software Asset Management (com.snc.software_asset_management) plugin, a reference to the processor definition is added to the Hardware [cmdb_ci_hardware] table.

Parent Topic:Legacy Software Asset Management plugin Overview module

Related topics

Use the legacy Software Asset Management plugin Overview module

Legacy Software Asset Management plugin roles