The Zurich release has arrived! Interested in new features and functionalities? Click here for more

Group By Automatically in List View

dsabharwal
Kilo Contributor

Hello, 

I have a similar question as asked here https://community.servicenow.com/community?id=community_question&sys_id=b9b54321db1cdbc01dcaf3231f961998

Basically, when clicking into a module that is a 'List of Records', is there a way to have the list automatically appear in a 'Group by', rather than the user having to go in and right click the field and click 'Group by'.

I tried by adding 'GROUPBYtype' to argument but it doesn't seem to work. Is there a different way I can achieve the same?

Would appreciate any inputs.

Thanks,

Dhruv

1 ACCEPTED SOLUTION

Chalan B L
Giga Guru

 

This worked for me..!!! before orderby just orderbycreatedon

Note: basically add created, state to the list layout

find_real_file.png

View solution in original post

9 REPLIES 9

In the arguments first ORDERBYDESCsys_created_on then GROUPBYfield_name

note:

In the list layout add created, field_name then only this works

 

Please mark the answer as correct if it helped you..!!

 

Regards,
Chalan

I hope this answer would helped you please mark the answer as correct as we will not leave this thread unanswered..!!!

 

Regards,

Chalan

Thank you Chalan and everyone for replying. 

 

The above works.

 

 

Hello Dsabharwal,

 

Could you please mark the answer correct if it helped you since we will not leave this thread unanswered.

 

Regards,

Chalan

Rupesh Pulamar1
Kilo Expert

Hi,

Check with the OOTB  "GROUP BY" Ui context menu.,

It would be helpful and will make sure why you can't use GroupBy in URL.

Thanks & Regards,

Rupesh Pulamarasetty