|
assign processor
|
Computer \[cmdb\_ci\_computer\]
|
Attempts to match a processor with a processor definition.
|
|
Build Primary Key
|
Software 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 Key
|
Software 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 suite
|
Software Installation \[cmdb\_sam\_sw\_install\]
|
Checks if the current software install is part of a software suite.
|
|
Check for suite omission
|
Software Installation \[cmdb\_sam\_sw\_install\]
|
Checks if the current software install should be omitted from any suites.
|
|
Clean up Cache
|
Software License \[alm\_license\]
|
Removes the cache for the counter of the software license record when a software license is deleted.
|
|
Clean up software normalization
|
Software 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 records
|
Software Counter Summary \[sam\_sw\_counter\_summary\]
|
Uncaches all related install and usage records when a software counter summary is deleted.
|
|
Clear normalized flag
|
Software Usage \[cmdb\_sam\_sw\_usage\]
|
Clears normalized flag on certain field changes.
|
|
Clear normalized flag
|
Software Installation \[cmdb\_sam\_sw\_install\]
|
Clears the is\_normalized check box when a field value is changed from a normalized value.
|
|
CPU/Core count change
|
Computer \[cmdb\_ci\_computer\]
|
Clears the Cached check box on related software installs when the [CPU count or CPU core count](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/it-service-management/software-asset-management/t_FindingSoftwareOnTheNetwork.md) changes.
|
|
Create a Software Normalization
|
Software 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 Normalization
|
Software 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 results
|
Software 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 entry
|
License 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 Cache
|
Software 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 reprocess
|
Software 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 reprocess
|
Software 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 cache
|
Computer \[cmdb\_ci\_computer\]
|
Uncaches all install and usage records referencing a computer when the computer's processor field is changed.
|
|
Limit license metric
|
License \[alm\_license\]
|
Limits software licenses to a single license metric value.
|
|
Limit license metric combinations
|
Hardware \[cmdb\_ci\_hardware\]
|
Rejects license metric combinations of the same type, such as CAL \(user\) and CAL \(devices\).
|
|
Link to Model
|
Software 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 omission
|
License Entitlement \[alm\_entitlement\]
|
Searches for any matching installs and marks them for suite omission.
|
|
One and only one default mapping
|
Processor 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 reset
|
Software Installation \[cmdb\_sam\_sw\_install\]
|
Resets the install of any counter information when it becomes uncached.
|
|
Process suite component deletion
|
Software Installation \[cmdb\_sam\_sw\_install\]
|
Updates all other members of an install's suite if the install is deleted.
|
|
rebind processor definitions
|
Processor Mapping \[sam\_processor\_mapping\]
|
Refreshes processor definitions when a processor mapping changes.
|
|
Rebuild Cache
|
Software 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 cached
|
Software 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 flag
|
Software 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 flag
|
Software 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 detail
|
Software 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 change
|
Software Installation \[cmdb\_sam\_sw\_install\]
|
Uncaches and resets counter information on the install if its inferred suite changes.
|
|
Reset Installs per License
|
Software Counter \[sam\_sw\_counter\]
|
Clears the Installations per license fields if the counter license type is not per user.
|
|
Retrieve PVU Mapping
|
Processor Definition \[cmdb\_processor\_definition\]
|
Finds a matching processor mapping based on the information of the processor definition.
|
|
SAM: Core Process
|
Global \[global\]
|
Not used for any processing.
|
|
Set Display name
|
Software Counter Result \[sam\_sw\_counter\_result\]
|
Sets the display name of the counter result to the counter name with the grouping type.
|
|
Set normalized fields
|
Software Usage \[cmdb\_sam\_sw\_usage\]
|
Sets normalized fields on insert to be copies of discovered fields.
|
|
Set normalized fields
|
Software Installation \[cmdb\_sam\_sw\_install\]
|
Copies the given values as their normalized values when a software install is inserted.
|
|
Sync Software Package
|
Software Discovery Model \[cmdb\_sam\_sw\_discovery\_model\]
|
Creates a row in the package table to reflect the row in the discovery model table.
|
|
Update Cache
|
Software Installation \[cmdb\_sam\_sw\_install\]
|
Updates all corresponding cached software counter details if usage metrics for this installation change.
|
|
Update Cache
|
Software Usage \[cmdb\_sam\_sw\_usage\]
|
Updates all corresponding cached software counter details if usage metrics for this software usage change.
|