Sam Custom Metric

Akshay Jugran
Tera Expert

Hi,

I was struggling making custom metric for Microsoft Bing Maps product. The required license metric is per transaction. 

can anyone guide me with this, how and from where the transactions are calculated ?

 

 

4 REPLIES 4

dreinhardt
Tera Sage

Hi  @Akshay Jugran,

 

you've to options to fulfill your requirement:

 

1. Use the "Common - Resource Consumption" Metric group/license metric combination

2. Create a custom license metric with a name e.g. "(Microsoft) Per Transaction" or "Per Transaction" of the type "Resource Value"

 

Finally, create a resource value record and link it with the software model you've created the entitlement with the custom metric. Specify resource values for your custom license metrics

 

Best, Dennis

 

Should my response prove helpful, please consider marking it as the Accepted Solution/Helpful to assist closing this thread.

Hi @dreinhardt 

 

Thanks for the reply

But if we create a custom license metric for calculation purpose we would still need data of transactions in a table stored, so i guess we would need to integrate with bing maps for transaction data ?

 

Thanks,

Akshay Jugran

Hello, @Akshay Jugran , how are you?     If I got your context, You should try do get data from the bing maps api using the integration hub action called "Upsert consumption"  this way, you will feed the table samp_sw_resource_value  as you need

 

https://www.servicenow.com/docs/bundle/yokohama-it-asset-management/page/product/software-asset-mana...

 

Before that, You should create some artifacts such a spoke to connect with your api / application, integration profile , etc..

 

Follow this link bellow

 

https://www.servicenow.com/docs/bundle/yokohama-it-asset-management/page/product/software-asset-mana...

@Akshay Jugran,

 

integration is one option as described by @marcelotell. other option is to update the value manually every 2/4 weeks as part of the daily SAM business or to extract the consumption/license report from Bing and import as import set.

 

Best, Dennis

Should my response prove helpful, please consider marking it as the Accepted Solution/Helpful to assist closing this thread.