Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Where is the users activity filter stored?

jkc
Giga Expert

A user can define what is being displayed in the Activities (filtered) list in i.e. incidents.

I would like to know where this preference is stored and if possible how to edit this for all users without roles

Any suggestions?

filter.png

1 ACCEPTED SOLUTION

Slava Savitsky
Giga Sage

Appearance of the activity log for a given user is determined by the values of the following user preferences:



TABLENAME.activity


TABLENAME.activity.log.display


TABLENAME.activity.filter


TABLENAME.activity.filter.on



You can easily figure out how their values are built by playing with the activity stream and observing changes to your own user preferences in "sys_user_preference" table.



For more information on how to manage user preferences refer to the following Wiki article:


User Preferences - ServiceNow Wiki


View solution in original post

7 REPLIES 7

Slava Savitsky
Giga Sage

Appearance of the activity log for a given user is determined by the values of the following user preferences:



TABLENAME.activity


TABLENAME.activity.log.display


TABLENAME.activity.filter


TABLENAME.activity.filter.on



You can easily figure out how their values are built by playing with the activity stream and observing changes to your own user preferences in "sys_user_preference" table.



For more information on how to manage user preferences refer to the following Wiki article:


User Preferences - ServiceNow Wiki


Thanks Slave,



That was exactly what I was looking for.


@Slava: Sorry for the misspelling of your name earlier!



I am able to script the preferences and I can see from the filter that they are working (in the example below I am trying to display only "Description" activities). My issue is that the actual filtering doesn't care what the settings are. All activities are still shown. I have tried both a scheduled job and a display business rule.



filter2.png



Any suggestions on this??


Hi Jan,


No worries. Can I have a look at your script? By the way, what exactly are you trying to accomplish and what is the business case behind it? Thanks.