An issue can occur in which software recognition rules do not trigger, even when the data from the inventory source is correct. This often happens in instances where the ExecutablePath column is populated, but its counterpart ExecutablePathReversed is NULL in SnowLicenseManager.dbo.tblSoftware.
To validate if you’re experiencing this issue, use the following SQL query:
SELECT * FROM SnowLicenseManager.dbo.tblSoftware
WHERE ExecutablePath IS NOT NULL AND ExecutablePathReversed IS NULL;
This issue occurs because SnowLicenseManager.dbo.tblSoftwareApplicationMap uses SnowLicenseManager.dbo.tblSoftware for the CheckSum values as part of the recognition and application usage process. If ExecutablePathReversed is not present, the software rule will never be triggered in the end environment. This often happens due to improper database cleanups or database migrations that do not follow best practice documentation.
To address this issue in an impacted environment, follow these steps in the Snow License Manager database:
- Backup: Back up the current Snow License Manager database backup before performing any database-related actions.
- Script execution: The following script is divided into four commands:
- Command One: Remove the index
IX_tblSoftware_ExecutablePathReversedbound todbo.tblSoftware. - Command Two: Drop the column
ExecutablePathReversedfromdbo.tblSoftware. - Command Three: Recreate the
ExecutablePathReversedcolumn and populate it with the reverse of theExecutablePathcolumn. - Command Four: Recreate the index
IX_tblSoftware_ExecutablePathReversedbound todbo.tblSoftware.
- Command One: Remove the index
USE SnowLicenseManager;
-- Command One
IF EXISTS(SELECT 1 FROM sys.indexes WHERE name = 'IX_tblSoftware_ExecutablePathReversed')
DROP INDEX IX_tblSoftware_ExecutablePathReversed ON dbo.tblSoftware;
-- Command Two
IF EXISTS(SELECT 1 FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = 'tblSoftware' AND TABLE_SCHEMA = 'dbo' AND COLUMN_NAME = 'ExecutablePathReversed')
ALTER TABLE dbo.tblSoftware DROP COLUMN ExecutablePathReversed;
-- Command Three
IF NOT EXISTS(SELECT 1 FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = 'tblSoftware' AND TABLE_SCHEMA = 'dbo' AND COLUMN_NAME = 'ExecutablePathReversed')
ALTER TABLE dbo.tblSoftware ADD ExecutablePathReversed AS REVERSE(ExecutablePath);
-- Command Four
IF NOT EXISTS(SELECT 1 FROM sys.indexes WHERE name = 'IX_tblSoftware_ExecutablePathReversed')
CREATE NONCLUSTERED INDEX IX_tblSoftware_ExecutablePathReversed ON dbo.tblSoftware (ExecutablePathReversed);
- Data Update Job: After applying the script, run the next Data Update Job as a Full SRS Rule Reset via the
RUN_COMPLETE_RULESET_DAYsetting in the Snow Management and Configuration Center to ensure all rules are considered.
Following these steps will ensure that SRS Rules trigger correctly based on data sets collected from inventory sources.
Related Articles
How the Data Processor Rules Engine (DPRE) normalizes inventory data in Snow Inventory Server 11Number of Views SQL query to identify files that triggered application rules per computer 13Number of Views How often are recognition rules updated within Snow Atlas and how do I request a new recognition rule / new application? 33Number of Views Deduplication Rules in Data Platform Normalize 8Number of Views Changes to file evidence "Existence rule" (aka "Recognition rule") rules made in the web UI to rules in the published ARL … 4Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Case id: 00001065
Activity: Status change: 2 hours ago