Custom License Metrics script

Maroof Ali1
Giga Contributor

Hi Can anyone share a sample script of Custom license metrics and its effect if changing the rightToDevice = -1 to smoething else, what will happen . I already went through the Servicenow docs sample script.

Thanks

2 REPLIES 2

Alex Panzarella
ServiceNow Employee
ServiceNow Employee

I made a blogpost detailing the custom license metric creation that I think is what you're looking for.

 

https://community.servicenow.com/community?id=community_blog&sys_id=a217db0bdbade0109e691ea668961964

Arthur Schulcz1
Mega Guru

When dealing with custom license metrics, all of the items required for reconciliation to work still apply.  That is, there must be installation record, models, entitlements, etc.  One use case for custom license metrics is for licensable software where the usage is not discoverable and must be manually tracked.  Create an entitlement for you software and link it to your software model.  If there are no discovery models associated to the software model, you will then also need to create a normalized software installation record in order for the script to work.