Service Operations Workspace - Group by records action is not working

Premnath M
Tera Contributor

Hi everyone,

 

My requirement is to group all the records based on the assignment group in the list view section.

I am done with the requirements, but I have a lot of bugs and glitches.

While logging into the Service operations workspace, Group by filter is not applied. after reloading the page it is grouped.
this issue is repeated when switching between the tabs.

Please find the below steps I did:

Step 1: Navigate to Service operations workspace ---> list view.

PremnathM_0-1694624466012.png

Step 2: I have grouped the incident ---> all in the list section. by using the below step.
Step 3: Navigated to sys_ux_list.LIST table and Click the "all" with category: "Incident" and configuration: "Default - SOW". and used the Group by field "assignment group".

PremnathM_1-1694624666971.png

 

Result: It is not grouping, sometimes it is grouping after refreshing the page. but most of the times the records are not grouped.

Kindly, anyone give solution for this issue.

Regards,
Prem

2 REPLIES 2

Rushikesh
Tera Expert

Hello @Premnath M 
Can you check the Default SOW view in the platform view if it is working on not. Also, Please delete the user preferences records. 

 

Please mark this answer helpful if it is helpful for you

Thank you!

Brandon Davis
Tera Contributor

@Premnath M -

 

I have resolved this. What I noticed is the 'Group by' data is not being transferred into the List SNC page because the field was never added to the configuration:

Snag_434ff559.png

 

The way I resolved it was as follows:

1. From the settings you will create a new page variant.

2. Modify the order, of your variant, so it occurs before the OOTB List SNC Page

3. In the UI Builder editor, for your new page variant, click on the 'List' element within the 'right' container

4. Add '@data.list_navigation_information.listMenuData.groupByField' to the 'Group by' field:

Snag_4352f5e7.png

5. Click 'Save'

6. To test, impersonate a user who does not have admin or meets the audience you have chosen to specify for this (I don't reccomend since List SNC is used througout Service Operation Workspace.)

 

Couple Notes:

- I did run into an issue where the filter did not initially save so I had to go back and add that and ensure both entries stayed.

- This does lock you into a customized page variant, but if you have no issue with the look and feel of this or are familiar with UI Builder then by all means proceed if you don't want to wait on ServiceNow to fix it.

Please mark my answer helpful if this resolved your issue.