TPM Discovered Technologies Records not getting removed when associated software installation record is removed [Upgrade Scenario]DescriptionTPM Discovered Technologies Records are not removed when the associated software installation record is removed after updating the "Technology Portfolio Management" store app to the latest version.Steps to Reproduce Log into the ServiceNow instanceRun the scheduled job named "Populate TPM Discovered Technologies and Lifecycles" which calls the script include with sys_id 875a736377f86110407d8716be5a992bTPM Discovered Technologies Records are not removed when the associated software installation record is removedTo check installed plugin version, navigate to All > System Definition > Plugins. Search with plugin name "sn_apm_tpm".Click on "Installed" tab to find the plugin.Please verify installed version by clicking on plugin card with title "Technology Portfolio Management". Update the "Technology Portfolio Management" (sn_apm_tpm) to 1.9.0 or later to update script include to latest and run scheduled job again.TPM Discovered Technologies records are still not getting removed.WorkaroundTo resolve the issue where records are not deleted from TPM Discovered Technologies after removing software installations following the latest version update, perform the following steps: Clear the cache table data to resolve this issue by following these steps: Navigate to System Definition > Scripts - Background. Change the scope to sn_apm_tpm. Run the following script: gs.truncateTable('sn_apm_tpm_server_discovered_models'); Rerun “Populate TPM Discovered Technologies and Lifecycles” (sys_id: 9f3a3ae353012110d5cbddeeff7b12da) scheduled job. Once job is run, invalid software records from TPM Discovered Technologies will get deleted.Related Problem: PRB1959843