Software Asset Management: global.SAMPremiumUtils().getLicenseWithAvailableRights
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2024 07:21 AM
We have this on a script and we cannot find what this function does and what tables it interacts with. Can anyone help us find out so we can configure the necessary data needed?
var licId = new global.SAMPremiumUtils().getLicenseWithAvailableRights(inputs_sam_software_model_sys_id, inputs_entitlement_type);
- Labels:
-
SAMPremiumUtils
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2024 11:46 AM
Hi @NinoG,
the mentioned script "SAMPremiumUtils" is part of the SAMP core and "Intellectual property" by ServiceNow.
That's one reason why the script is protected and not available for customers to get a look into it.
It suggests that this script was created for you by a ServiceNow employee with access and insights.
From the names, it can be assumed that the result is probably the usage rights that are still available or that it generally only outputs a true/false as a check for the software model. In what other context is the script and the variable “var licld” used?
- Software Models - cmdb_software_product_model
- Software Entitlements - alm_license
Best, Dennis