Need to show Catalog Task and Incident records in Unassigned incidents card on service operations
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2022 09:53 PM
Hi All,
I need to show Catalog Task and Incident records in Unassigned incidents card on service operations workspace.
I
I modified as below:
It is showing correct data in donut chart which is 16 (Incident and sc_tasks) but when click on view all it shows only incident records which are 10 not sc_tasks records which are 5 so total 16 record should be shown for my profile:
Please help me how I can modify this.
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2022 02:10 AM
Hi, Can you check the same with simple report and check the simple report and agent workspace report same?
If issue with agent workspace you should check in different direction.
Suresh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2022 07:23 AM
Hi,
Thanks for response!
This is Service Operations Workspace not Agent Workspace.
Yes, Simple report and Service Operations Workspace behaves differently but I don't know what to do to get required result.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2022 03:45 AM
Hi Rekha, are you still having this problem?
If so update the SOW plugin and look for the UX client script include 'SowIncidentLandingPageUtils' and 'SowIncidentLandingPageUtilsSNC'.
The data comes from a script. You can easily change this in the script, but it is a nightmare from the UI builder.
Overwrite the 'getVisualizationConfig()' method.
You will need to copy the whole method into SowIncidentLandingPageUtils so you have full control of the output.
This method creates the cards and what data it will contain.
Here you can switch the cards around to have to order you want, create new cards, or configure if queries to your liking.
A card looks like this:
//visualizationConfig is an array holding objects that will be made into cards.
const visualizationConfig = [{
"id": "incident_assigned",
//Here is the table the query will use
"tableName": "incident",
"tableDisplayValue": "Incident",
//Here are the queries as encoded queries, you can alter these queries to get the incidents you want.
//The two different queries are for "My work" and "My teams work".
"myWorkQuery": "active=true^assigned_toDYNAMIC90d1921e5f510100a9ad2572f2b477fe",
"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("Incidents assigned to me") : await helpers.translate("Incidents assigned to my team"),
"groupByField": "state",
"evamId": evamDef['incidentEvamDefinitionId'],
"updated_on": "^ORDERBYDESCsys_updated_on",
}
Please let me know if this reply helps your situation.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2023 06:30 AM
Hi Mathias,
I am seeing your replies with regards to visualizations in service operations workspaces. Maybe you can help me with my requirement. since there is a donut called unassigned incidents in service operations landing page, i have a requirement to create a new donut for unassigned catalog tasks. I have already done the donut but my problem is the data/list below does not update when I click on the new donut I have created. Do you know how i can may it work like an interactive filter like the other donuts in the landing page?