Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

Need to get the total allocated license count on the alm_license

Not applicable

Hi All, 

 

Having a requirement that in the table alm_license we have total purchased rights and allocations available but we dont have allocated license count. 

tried to create a new field and populating the total allocated licenses. 

 

Need suggestion on the best way to get this done to get the allocated count on the form. 

 

Thanks.

3 REPLIES 3

Not applicable

Hi @Community Alums ,

 

I have generally seen organization using custom field to calculate this and update in the new field to manage the allocated count of license. If in case you have the use of this field in any of your future developements then you have the option to create a field. (which you mentioned).

 

If in case you just want to have a insite of the allocated license you can have this information shown in a addinfoMessage(); or ShowFieldMessage(); Onload of alm_license page.

 

I hope this helps...

 

Not applicable

Hi @Community Alums 

Created a new filed and able to populate the value on it.

But the value we tried to set is only visible on the form view not on the list view. 

 

the script i tried to use here is onChange. 

Need suggestions to get it corrected. 

 

Thanks. 

Not applicable

did you add the newly created field in list view of table ?