We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

How to Report on ITIL License Usage vs Inactive Users (30/60/90 Days)

saint
Tera Expert

Hello Experts,

 

I’m looking for guidance on creating a report (or dashboard) to analyze ITIL license usage efficiency.

 

  • Identify users assigned an ITIL license
  • Compare this against user login activity
  • Specifically highlight users who:
    • Have not logged in for 30, 60, or 90 days
  • The goal is to determine whether ITIL licenses can be reclaimed or optimized
2 ACCEPTED SOLUTIONS

AndersBGS
Tera Patron

Hi @saint ,

 

you have sys_user_has_role and sys_user which can be dot-walked from sys_user_has_role. Where do you experience issues in creating the report.

 

If my answer has helped with your question, please mark my answer as the accepted solution and give a thumbs up.

Best regards
Anders

Rising star 2024
MVP 2025
linkedIn: https://www.linkedin.com/in/andersskovbjerg/

View solution in original post

Tanushree Maiti
Tera Patron

Identify users assigned an ITIL license

Ans : create a report on the sys_user table. 

Filter it with following condition: Sys ID is javascript:getRoledUsers('IN','itil')

Refer: https://www.servicenow.com/community/developer-forum/need-to-help-on-pulling-report-of-itil-users/m-...

 

Compare this against user login activity

Specifically highlight users who:

Have not logged in for 30, 60, or 90 days

 

 

  • Inactive Login Report (No Usage):
    • Table: sys_user
    • Filters:   Roles contains itil AND Last login time before javascript:gs.daysAgo(90) (for a 90-day review period). //check it for 30, 60, or 90 days
  • No Ticket Activity Report (Under-utilized):
    • Table:sys_user_has_role
    • Logic: Users with the itil role who have not updated or created a task (like incident, change_request, sc_req_item etc) in the last 30, 60, or 90 days

 

The goal is to determine whether ITIL licenses can be reclaimed or optimized

Ans. you may create a scheduled job to deactivate users who have not logged in or worked on tasks in over 90 days.

Refer this post for the script:  https://www.servicenow.com/community/sysadmin-forum/best-way-to-get-an-overview-for-license-utilizat...

 

 

Please Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti

View solution in original post

5 REPLIES 5

Tanushree Maiti
Tera Patron

Identify users assigned an ITIL license

Ans : create a report on the sys_user table. 

Filter it with following condition: Sys ID is javascript:getRoledUsers('IN','itil')

Refer: https://www.servicenow.com/community/developer-forum/need-to-help-on-pulling-report-of-itil-users/m-...

 

Compare this against user login activity

Specifically highlight users who:

Have not logged in for 30, 60, or 90 days

 

 

  • Inactive Login Report (No Usage):
    • Table: sys_user
    • Filters:   Roles contains itil AND Last login time before javascript:gs.daysAgo(90) (for a 90-day review period). //check it for 30, 60, or 90 days
  • No Ticket Activity Report (Under-utilized):
    • Table:sys_user_has_role
    • Logic: Users with the itil role who have not updated or created a task (like incident, change_request, sc_req_item etc) in the last 30, 60, or 90 days

 

The goal is to determine whether ITIL licenses can be reclaimed or optimized

Ans. you may create a scheduled job to deactivate users who have not logged in or worked on tasks in over 90 days.

Refer this post for the script:  https://www.servicenow.com/community/sysadmin-forum/best-way-to-get-an-overview-for-license-utilizat...

 

 

Please Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti