Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

Why is my pie chart not clickable for some groupBy fields in Workspace?

bately
Tera Contributor

 

Hi everyone,

I’m working with a pie chart on a Workspace landing page in ServiceNow.
I’m using a custom Client Script Include that defines a groupByField.

When I set groupByField to state or priority, the pie chart slices are clickable - clicking a slice opens the filtered list as expected.

However, when I change groupByField to category, urgency, or impact, the pie chart displays correctly, but the slices are not clickable - I can only see the data if I click View All.

How can I make the pie slices clickable when using fields like category?

Here is the configuration I’m using in the Client Script Include for the pie chart:

{ "id": "incident_open_cat",
"tableName": "incident",
"tableDisplayValue": "Incident", 
"myWorkQuery": "u_support_system=crm^stateIN1,2,3",
"myTeamQuery""active=true^assigned_toISNOTEMPTY^assignment_groupDYNAMICd6435e965f510100a9ad2572f2b47744",
"listView": { "mode": "your_work", "sow_landing_page_assigned": "sow_landing_page" },
"header": { "mode": "your_work", "await helpers.translate('All Active Incidents (Category)')": "await helpers.translate('Incidents assigned to your team')" },
"groupByField": "category",
"evamId": evamDef["incidentEvamDefinitionId"],
"updated_on": "^ORDERBYDESCsys_updated_on" }

thank you so much!

0 REPLIES 0