Software Asset Management– Create Software Install record for an Application discovered through the Process ClassifiersIssue <!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } span { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } h2 { font-size: 24pt; font-family: Lato; color: var(--now-color--text-primary, black); } h3 { font-size: 18pt; font-family: Lato; color: var(--now-color--text-primary, black); } h4 { font-size: 14pt; font-family: Lato; color: var(--now-color--text-primary, black); } a { font-size: 12pt; font-family: Lato; color: var(--now-color--link-primary, #00718F); } a:hover { font-size: 12pt; color: var(--now-color--link-primary, #024F69); } a:target { font-size: 12pt; color: var(--now-color--link-primary, #032D42); } a:visited { font-size: 12pt; color: var(--now-color--link-primary, #00718f); } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } When applications are discovered through Discovery patterns, the resulting application CIs may require corresponding software install records for Software Asset Management (SAM) tracking and license reconciliation purposes. This article outlines how software install records are created and what configuration is needed to support them.Overview:When Discovery scans a device, during the exploration phase, it collects a list of all running processes. Process Classifiers evaluate these processes and determine what application or service they represent, enabling ServiceNow to automatically run the patterns/probes for those processes and create a corresponding Application record in the CMDB. Process Classifiers : https://<<instancename>>.service-now.com/discovery_classy_proc_list.do?sysparm_query=nameNOT%20LIKEPending%3A&sysparm_view=How It Works:When a Discovery probe runs against a device, it collects information about all active processes. Each process is then evaluated against the configured Process Classifier Conditions in the following sequence: Discovery collects running processes from the target device.Each process is compared against active Process Classifier conditions.When a match is found, Discovery identifies the CI type associated with that classifier and runs the patterns/probes configured under "Trigger Probes". An Application CI record is created or updated in the CMDB based on the data collected. Parent table : cmdb_ci_applChild Classes : Many. Samples include cmdb_ci_appl_peoplesoft, cmdb_ci_appl_oracle_golden_gate, cmdb_ci_db_mssql_instance, cmdb_ci_app_server_jboss..etc Release<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } span { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } h2 { font-size: 24pt; font-family: Lato; color: var(--now-color--text-primary, black); } h3 { font-size: 18pt; font-family: Lato; color: var(--now-color--text-primary, black); } h4 { font-size: 14pt; font-family: Lato; color: var(--now-color--text-primary, black); } a { font-size: 12pt; font-family: Lato; color: var(--now-color--link-primary, #00718F); } a:hover { font-size: 12pt; color: var(--now-color--link-primary, #024F69); } a:target { font-size: 12pt; color: var(--now-color--link-primary, #032D42); } a:visited { font-size: 12pt; color: var(--now-color--link-primary, #00718f); } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } ALL Resolution<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } span { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } h2 { font-size: 24pt; font-family: Lato; color: var(--now-color--text-primary, black); } h3 { font-size: 18pt; font-family: Lato; color: var(--now-color--text-primary, black); } h4 { font-size: 14pt; font-family: Lato; color: var(--now-color--text-primary, black); } a { font-size: 12pt; font-family: Lato; color: var(--now-color--link-primary, #00718F); } a:hover { font-size: 12pt; color: var(--now-color--link-primary, #024F69); } a:target { font-size: 12pt; color: var(--now-color--link-primary, #032D42); } a:visited { font-size: 12pt; color: var(--now-color--link-primary, #00718f); } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } There are two methods to create software install records for application CIs discovered through patterns: 1. Configure "Sync Installed Software" Pre/Post Script to run as part of pattern execution. https://<<instancename>>.service-now.com/nav_to.do?uri=sa_pattern_prepost_script.do?sys_id=ecd06b4953332200d0daae4a16dc34452. Execute the "SAM - Software Asset Connections" scheduled job. https://<<instancename>>.service-now.com/nav_to.do?uri=sysauto.do?sys_id=c39f2d4c7fc700107aea7500fee86bd3For either method to successfully create a software install record, a corresponding entry must exist in the Software Installation Name Mapping table (cmdb_sam_sw_name_mapping) for the application's CI class, product, and publisher. Out of the box, this table has limited entries and may not cover all discovered application types. If a mapping does not exist for a given application, no software install record will be created even if the Pre/Post Script or scheduled job runs successfully. If there is a business requirement to track additional applications in SAM, a new entry must be added to the cmdb_sam_sw_name_mapping table. Follow these steps: Step 1 — Get the Product and Publisher information, validate against the entry in the samp_sw_product table.Step 2 — Create a new mapping record.Step 3 — Wait for next discovery or execute the job. Sample entry to create an install record for Peoplesoft application.