Need to show unassigned catalog tasks donut on service operations workspace

jparman
Tera Guru

Since there is a donut called unassigned incidents in Service Operations Workspace 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 Unassigned Catalog tasks donut. Do you know how i can may it work like an interactive filter like the other donuts (Unassigned incidents) in the landing page?

 

jparman_0-1675902111861.png

 

9 REPLIES 9

Nadia7
Tera Expert

In order to make changes in Repeater component on the 'Service desk landing page overview SNC' landing page it should be changed 'donutConfig' state parameter.
In turn, he takes data from UX Client Script that is imported on the page by client scripts.

So you should copy 'SowIncidentLandingPageUtilsSNC' from 'sys_ux_client_script_include' table. Add to the 'visualizationConfig':

              {
                    "id": "catalog_tasks",
                    "tableName": "sc_task",
                    "tableDisplayValue": "Catalog Task",
                    "myWorkQuery": "active=true^assigned_toISEMPTY^assignment_groupDYNAMICd6435e965f510100a9ad2572f2b47744",
                    "myTeamQuery": "active=true^assigned_toISEMPTY^assignment_groupDYNAMICd6435e965f510100a9ad2572f2b47744",
                    "listView": 'sow_landing_page',
                    "header": await helpers.translate("Unassigned Catalog tasks"),
                    "groupByField": "state",
                    "evamId": evamDef["catalogTaskEvamDefinitionId"],
                    "updated_on": "^ORDERBYDESCsys_updated_on",
                }

Then update the 'SowIncidentLandingPageUtils'. Change Client Script Include Dependencies to your new script.

 

And update 'UpdateDonutsConfig' client script in UIbuilder.

@Nadia7  can you please give the steps if new donut related to RITM to be added the overview page of sow. what exactly to be given in this function

tatic getEvamDef() {
const evamDef = {
'incidentEvamDefinitionId': '01a404e8b7203010e69dbc16de11a93f',
'incidentSlaEvamDefinitionId': '749b857eb7283010e69dbc16de11a98d',
'catalogTaskEvamDefinitionId': '4a59c876c7323010d7e818b1c7c26083',
'delegatedTaskEvamDefinitionId': '615d205d94df0110f87765e94545da03'
};
return evamDef;
}

 

for the new ritmdefinitionevamid if it is created

 

RameshKumar30
Tera Contributor

Hi @Nadia7 / @jparman ,

I have configured similar new donut for Problem tasks and the donut I have configured is showing up in both 'My Work' and 'My Team's Work' , can you please let me know on how to make  the newly configured Donut  available  only in ''My Team's Work' alone.

I'm stuck and not able to proceed further, 

Thanks in advance,
Kamal

RameshKumar30
Tera Contributor

@Nadia7 / @jparman , can you please look in to my request .