Configuring UI Context Menu or adding new option in List view

GnaneshP
Tera Contributor

I need to add a hierarchical menu in the same, where I can filter the records (incident) based on their assignment group and different status, same like adding menu items in the "All" menu. Adding them in the menu items makes it longer, so I'm trying this way. Example,

 

"Filter by Assignment groups" --> "App Engine Admins" --> "New, In Progress, Resolved,.."

 

Is this possible to add like this in the context menu? Or can we add an option to filter the records in the list view for a particular table, so that the records can be viewed based on the assignment group and status without having to run the filter conditions each time?

 

Can anyone please help me on this or suggest any other way?

GnaneshP_0-1721642904827.png

 

5 REPLIES 5

RD15
Tera Contributor

Hi @GnaneshP ,

 

1. You can apply the filter and add mark it as your "favorites" from the context menu. Later you can open the table from the "favorites" on the Home Page which will populate with the filter.

This will be applied only for you.

RD15_0-1721644913952.png

 

2. You can create a fixed Query. Please follow the below link.

https://docs.servicenow.com/auth/login/?redirect=%2Fbundle%2Fwashingtondc-platform-administration%2F...


Shruti Khaire
Kilo Sage

Hello @GnaneshP,

 

I haven't worked on similar requirement but can suggest a way out for this requirement. For my use case I had this condition below.

ShrutiKhaire_0-1721645661220.png

 

And for this I created you want to edit the module link by clicking the little pencil icon and then adjust the filter:

ShrutiKhaire_1-1721645792948.png

 

Thank you!

Hi @Shruti Khaire Thanks for your suggestion. I have more than 5 assignment groups, as you see on the filter navigation panel, I have created "Filter by groups". But adding like this for all the groups will make the list so longer. I want this same filtering in the list view. I tried creating it in System UI > UI Context Menus but I'm not sure about the scripting part. Any idea on this?

GnaneshP_0-1721648977589.png

 

GnaneshP_2-1721649524359.png

 

 

Hello @GnaneshP,

 

In this case you can use the 'save and use filters in a list view' concept in Servicenow. I will be linking below the article so that you can refer hope that helps!

Save and use filters in a list view

Thank you!