The CreatorCon Call for Content is officially open! Get started here.

Unable to click on certain donut filters on Service Operations Workspace landing page

Vikram Kee Dam2
Tera Expert

Hello.

 

We are in the middle of a Service Operations Workspace implementation for a customer and currently looking at the landing page. Our problem is that when clicking on the donut filters, the list below doesn't change. Clicking 'View all' is not a problem, and the next donut (Unassigned incidents) works fine, so does 'Tasks assigned to your team', which we made in addition. 

 

We've followed these instructions as well: https://www.servicenow.com/docs/bundle/xanadu-it-service-management/page/product/service-operations-...

 

VikramKeeDam2_1-1755858735924.png

 

I've checked the SowIncidentLandingPageUtils that's been made to extend SowIncidentLandingPageUtilsSNC, but can see no issue there, here's that code:

 

function include({ imports }) {
let serviceDeskLandingPageUtilsSNC = imports['sn_sow_inc.SowIncidentLandingPageUtilsSNC']();

class ServiceDeskLandingPageUtils extends serviceDeskLandingPageUtilsSNC {

static async getVisualizationConfig(helpers, mode) {
const evamDef = this.getEvamDef();
let visualizationConfig = [{
"id": "incident_assigned",
"tableName": "incident",
"tableDisplayValue": "Incident",
"myWorkQuery": "active=true^assigned_toDYNAMIC90d1921e5f510100a9ad2572f2b477fe^state!=6^state!=7^state!=9",
"myTeamQuery": "active=true^assigned_toISNOTEMPTY^assignment_groupDYNAMICd6435e965f510100a9ad2572f2b47744^state!=6^state!=7^state!=9",
"listView": mode == "your_work" ? "sow_landing_page_assigned" : "sow_landing_page",
"header": mode == 'your_work' ? await helpers.translate("Incidents assigned to you") : await helpers.translate("Incidents assigned to your team"),
"groupByField": "assigned_to",
"evamId": evamDef['incidentEvamDefinitionId'],
"updated_on": "^ORDERBYDESCsys_updated_on",
},
{
"id": "unassigned_incidents",
"tableName": "incident",
"tableDisplayValue": "Incident",
"myWorkQuery": "active=true^assigned_toISEMPTY^assignment_groupDYNAMICd6435e965f510100a9ad2572f2b47744",
"myTeamQuery": "active=true^assigned_toISEMPTY^assignment_groupDYNAMICd6435e965f510100a9ad2572f2b47744",
"listView": mode == "your_work" ? "sow_landing_page_assigned" : "sow_landing_page",
"header": await helpers.translate("Unassigned incidents"),
"groupByField": "priority",
"evamId": evamDef['incidentEvamDefinitionId'],
"updated_on": "^ORDERBYDESCsys_updated_on",
},
{
"id": "task_assigned_to_me",
"tableName": "task",
"tableDisplayValue": "Task",
"myWorkQuery": "active=true^assigned_toDYNAMIC90d1921e5f510100a9ad2572f2b477fe",
"myTeamQuery": "active=true^assignment_groupDYNAMICd6435e965f510100a9ad2572f2b47744",
"listView": 'sow_landing_page',
"header": mode == 'your_work' ? await helpers.translate("Tasks assigned to you") : await helpers.translate("Tasks assigned to your team"),
"groupByField": "sys_class_name",
"evamId": evamDef["TaskEvamDefinitionId"],
"updated_on": "^ORDERBYDESCsys_updated_on",
}
];

// Add new config for requested items
const newConfig = {
id: "sc_req_item_assigned",
tableName: "sc_req_item",
tableDisplayValue: "Requested Items",
myWorkQuery: "active=true^assigned_toDYNAMIC90d1921e5f510100a9ad2572f2b477fe",
myTeamQuery: "active=true^assignment_groupDYNAMICd6435e965f510100a9ad2572f2b47744",
listView: mode === "your_work" ? "sow_landing_page_assigned" : "sow_landing_page",
header: mode === "your_work"
? await helpers.translate("Requested Items assigned to you")
: await helpers.translate("Requested Items assigned to your team"),
groupByField: "state",
evamId: this.getEvamDef()["scReqItemEvamDefinitionId"],
updated_on: "^ORDERBYDESCsys_updated_on"
};

visualizationConfig.push(newConfig);

return visualizationConfig;
}
}

return ServiceDeskLandingPageUtils;
}

 

Please help.

 

1 REPLY 1

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Vikram Kee Dam2 

 

Did you try to repair / update the SOW to latest version.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************