Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Sharon_Barnes
ServiceNow Employee
ServiceNow Employee

This article outlines how to build a custom report to visualize Now Assist usage by Workflow and Product using the sys_gen_ai_usage_log table and the skill hierarchy metadata. While the data model offers powerful grouping capabilities, there are important caveats to consider when interpreting the results.

In this article, we will walk through:

  • Where this data comes from, how it’s used and how you can manipulate it
  • Building an analytics dashboard with
    • An introductory report to understand the hierarchy
    • A view of how the skills fit into the hierarchy
    • A usage report leveraging the skill hierarchy

Data Model Overview

The report is based on the following relationships:

  • Usage Table: sys_gen_ai_usage_log
  • Skill Configuration: sn_nowassist_skill_config
    • Purpose: Links usage to skill metadata
  • Skill Family: sn_nowassist_skill_family
    • Purpose: A self-referring table that categorizes or classifies the skill in the visible hierarchy
      • Type field: Each node in the skill family may include a type of value: workflow, product, or feature.
      • Parent field: Each node in the skill family may include a parent value, referring to another record on the same table

These types reflect how skills are presented in the UX and can be used to infer department alignment. Top-level branches are Workflows, and sub-branches can be Products or Features.

Sharon_Barnes_0-1764650547992.png

 

⚠️ Caveats and Disclaimers

  1. Usage ≠ Value Attribution to Purchasing Departments

There is no reliable way to consistently and directly associate usage with the purchasing department or a specific purchased SKU.

  • Many skills are platform-level or cross-product.
  • Usage may span multiple departments and would be double counted.
  1. Skill Family Changes May Cause Records to Be Skipped

Modifying the skill family hierarchy (e.g. changing skill_parent or its type) can cause usage records to be skipped during updates.

  • Usage records rely on the current hierarchy to resolve relationships.
  • If the hierarchy is incomplete or misconfigured during updates, new records may fail to resolve.
  • This can result in missing data in reports.

 

Steps to Create a Report

Overview

The intent of this section is to provide you with step-by-step instructions to create a dashboard, featuring interactive filters and tabs, to clearly display how skills are classified, and usage is recorded.

Sharon_Barnes_1-1764650547992.png

 

Filters

  • Skill Family: Isolates one or more Skill Families when unable to locate via browsing. 
  • Application:  Identifies skills based on their installation source.

Tabs

  • Skills Families: Displays hierarchical relationships between Skill Families, even if related skills are not activated. 
  • Skill Configs by Family: Shows how many skills are configured within each Skill Families.
  • Usage by Skill Config and Family: Provides a detailed breakdown of usage.

 


Step 1: Create the Dashboard & Add the First Tab – Skills Families

1. Platform Analytics > Analytics Center > Create New Dashboard > select In-Line Editor
Name Your Dashboard (Example Name: Now Assist Usage Breakdown).

2. Click on Add new Element.

Sharon_Barnes_2-1764650547993.png

 

3. Then click on Data visualization.

Sharon_Barnes_3-1764650547996.png

 

4. Select New Visualization from the pop-up.

Sharon_Barnes_4-1764650548000.png

 

5. On the right side of the screen, in the configuration panel, select Visualization type = Pivot Table.

Sharon_Barnes_5-1764650548005.png

 

6. Under the Data sources section, click on Add data source.

Sharon_Barnes_6-1764650548009.png

 

7. Search for "now assist skill family" and select it as the data source.
No conditions need to be applied.
Then click on Add this source.

Sharon_Barnes_7-1764650548011.png

 

8. Under the Group by section for columns, click + Add.

Sharon_Barnes_8-1764650548015.png

 

9. Then, in the drop-down for Field for Now Assist Skill Family, select Type.
This will show a breakdown of Workflow, Product & Feature.
Click Apply.

Sharon_Barnes_9-1764650548019.png

 

10. Under the Group by section for rows, click + Add.

Sharon_Barnes_41-1764650622903.png

 

11. Then, in the drop-down for Field for Now Assist Skill Family, select the options to reflect the following hierarchy and apply for each item (dot walk as needed):

·      Parent > Parent

·      Parent

·      Name

Click on Apply.

Sharon_Barnes_42-1764650637653.png

 

12. Optional: Add a List Visualization. 

Click on Add new Element.

Then click on Data visualization.

Sharon_Barnes_43-1764650650414.png

 

13. Select New Visualization from the pop-up

Sharon_Barnes_44-1764650657422.png

 

 

14. On the right side of the screen in the configuration panel, select Visualization type = List.

Sharon_Barnes_45-1764650663788.png

 

15. Under the Data sources section, click on Add data source.

Sharon_Barnes_46-1764650673548.png

 

16. Search for "now assist skill family" and select it as the data source.

No conditions need to be applied.

Then click on Add this source.

17. Click on Save.

Congratulations, you have completed tab 1 of the dashboard and created the visuals for Skill Families.

Sharon_Barnes_47-1764650684468.png

 

Step 2: Add the Second Tab - Skill Configs by Family

18. Click on Add a tab, and label it as Skill Configs by Family.

Sharon_Barnes_48-1764650696485.png

 

19. Click on Add new element.

Then click on Data visualization.

Sharon_Barnes_49-1764650703496.png

 

20. Select New Visualization from the pop-up.

Sharon_Barnes_50-1764650714125.png

 

21. On the right side of the screen, in the configuration panel, select Visualization type = Pivot Table.

Sharon_Barnes_51-1764650721072.png

 

22. Under the Data sources section, click on Add data source.

Sharon_Barnes_52-1764650729137.png

 

23. Search for "Now Assist Skill Config" and select it as the data source.

No conditions need to be applied.

Then click on Add this source.

Sharon_Barnes_53-1764650736327.png

 

24. Under the Group by section for columns, click + Add.

Sharon_Barnes_54-1764650742960.png

 

25. Then, in the drop-down for Field for Now Assist Skill Config, select State. This will show which Skills have been set up or activated. Click on Apply.

Sharon_Barnes_55-1764650752930.png

 

26. Under the Group by section for rows, click + Add.

Sharon_Barnes_56-1764650773372.png

 

27. Then, in the drop-down for Field for Now Assist Skill Config, select the options to reflect the following hierarchy and apply for each item (dot walk as needed):
Skill Family > Parent > Parent

Skill Family > Parent

Skill Family.

Click on Apply.

Sharon_Barnes_57-1764650782270.png

 

28. The output visualization should look like this.
Note: Many skill families have only one parent level, but not all. This is why the extra parent level, which appears below as (empty), is included.

Sharon_Barnes_58-1764650792634.png

 

29. Optional: Add a List Visualization.

Click on Add new Element.

Then click on Data visualization.

Sharon_Barnes_59-1764650801091.png

 

30. Select New Visualization from the pop-up.

Sharon_Barnes_60-1764650810762.png

 

31. On the right side of the screen, in the configuration panel, select Visualization type = List.

Sharon_Barnes_61-1764650817543.png

 

32. Under the Data sources section, click on Add data source.

Sharon_Barnes_62-1764650825769.png

 

33. Search for "now assist skill config" and select it as the data source.

No conditions need to be applied.

Then click on Add this source.

34. Click on Save.

Congratulations, you have completed tab 2 of the dashboard and created the visuals for Skill Configs by Family.

Sharon_Barnes_63-1764650837805.png

 

Step 3: Add the Third Tab – Usage by Skill Config and Family

35. Click on Add a tab, and label it Usage by Skill Config and Family.

36. Click on Add new Element. Then click on Data visualization.

Sharon_Barnes_64-1764650850109.png

 

37. Select New Visualization from the pop-up.

Sharon_Barnes_65-1764650856234.png

 

38. On the right side of the screen in the configuration panel, select Visualization type = Pivot Table.

Sharon_Barnes_66-1764650864996.png

 

39. Under the Data sources section, click on Add data source.

Sharon_Barnes_67-1764650874567.png

 

40. Search for "Generative AI Usage Log " and select it as the data source.

If the table doesn’t appear, reference Reporting on system tables.

No conditions need to be applied.

Then click on Add this source.

Sharon_Barnes_68-1764650883581.png

 

41. Under the Metric section, add three values. Click + Add, set the values, and click Apply for each.

Label = Events, Select an aggregation = Count, Field = Entire table

Label = Default, Select an aggregation = Sum, Field = Assists

Label = Default, Select an aggregation = Sum, Field = Trial Assists

Sharon_Barnes_69-1764650893359.png

 

42. Under the Group by section for rows, click + Add. Then in the drop-down for Field for Generative AI Usage Log select the options to reflect the following hierarchy and apply for each item:

Skill Config ID > Parent > Parent

Skill Config ID > Parent

Skill Config ID > Name 

Feature

Sharon_Barnes_70-1764650900986.png

 

43. Click on Save.

Congratulations, you have completed tab 3 of the dashboard and created the visuals for Usage by Skill Config and Family.

Sharon_Barnes_71-1764650910602.png