Use PDIs? Take our 5-minute survey to help shape the PDI roadmap.

Interactive Filter - Only show my groups

M_iA
Kilo Sage

Hello, I am trying to create an interactive filter for assignment groups so that the dashboard only shows case records based on the assignment group that I have selected.

However, the drop down list on the interactive filter will show all groups. How would I filter this, to only show groups that I belong to as a possible selection in the interactive filter?

Many thanks

1 ACCEPTED SOLUTION

Carmen Galante
Kilo Guru

Create a reference filter, choose the sys_user_group table and on the filter select:

 

Sys ID is

javascript: gs.getUser().getMyGroups();

 

You should only see groups you are a member of, this will be dynamic for whoever is viewing it.

 

find_real_file.png

View solution in original post

4 REPLIES 4

SAI VENKATESH
Kilo Patron

Hi 

You can use filters that are available in interactive filters, based on your requirements.

 

 

find_real_file.png

 

Please mark it as helpful if it is useful for you.

 

Thanks and Regards

Sure Sai Venkatesh

Carmen Galante
Kilo Guru

Create a reference filter, choose the sys_user_group table and on the filter select:

 

Sys ID is

javascript: gs.getUser().getMyGroups();

 

You should only see groups you are a member of, this will be dynamic for whoever is viewing it.

 

find_real_file.png

Perfect, thanks for your help @Carmen Galante 

My org just moved to Australia and Platform Analytics is required for all new dashboards, and we may leverage Core UI through end of 2027 (I assume in alignment with ServiceNow's future release schedule and requirements).

 

This post was extremely helpful and still relevant to create a platform analytics custom group filter.  Thank you!