Service Operation Workspace Dashboards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-06-2024 03:03 AM
Hello, I am implementing a new dashboard for the Service Operations Workspace, I am creating everything from the UX Client Script Inlude "SowIncidentLandingPageUtils" belonging to the table "sys_ux_client_script_include_list.do". I have implemented a dashboard to indicate the incidents opened for more than 15 days and another for more than 7 days. I would need to implement another one opened for more than 15 days and 7 days by the user. The problem is that they all appear in both tabs, in the "Your work" tab and in the "Your team's work" tab. I have tried to change the "list view" in the code without success.
Any ideas?
Thank you very much in advance.
Code:
{
"id": "days_incidents_7",
"tableName": "incident",
"tableDisplayValue": "Incidents opened more than 7 days",
"myWorkQuery": "opened_atMORETHANopened_at@day@after@7",
"myTeamQuery": "active=true^assigned_toISEMPTY^assignment_groupDYNAMICd6435e965f510100a9ad2572f2b47744",
"listView": mode == "your_work" ? "sow_landing_page_assigned" : "sow_landing_page",
"header": await helpers.translate("Incidents opened more than 7 days"),
"groupByField": "state",
"evamId": evamDef['incidentEvamDefinitionId'],
"updated_on": "^ORDERBYDESCsys_updated_on",
},
{
"id": "days_incidents_15",
"tableName": "incident",
"tableDisplayValue": "Incidents opened more than 15 days",
"myWorkQuery": "opened_atMORETHANopened_at@day@after@15",
"myTeamQuery": "active=true^assigned_toISEMPTY^assignment_groupDYNAMICd6435e965f510100a9ad2572f2b47744",
"listView": mode == "your_work" ? "sow_landing_page_assigned" : "sow_landing_page",
"header": await helpers.translate("Incidents opened more than 15 days"),
"groupByField": "state",
"evamId": evamDef['incidentEvamDefinitionId'],
"updated_on": "^ORDERBYDESCsys_updated_on",
},
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-29-2024 11:55 AM
Not sure if you have already found an answer to this, but I see that you have both a "myWorkQuery" and a "myTeamQuery" for each visualization. Did you try creating separate visualizations, one with a "myWorkQuery" and the other with a "myTeamQuery"?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-29-2024 01:00 PM
Thank you very much for your response.
In the end I was able to solve the problem using as a reference one of the dashboards that appeared differently in the two display tabs "Incidents assigned to you" and "Incidents assigned to your team". I modified it and improved the Query.