How to highlight the Activities (filtered) text when on task or hr case formsDescriptionThis article will show how you can make the "(Filtered)" message more visible so as to alert a user that there are filters on the Activities displayed in the activity stream. NOTE: THIS IS A COMPLETELY UNSUPPORTED EXAMPLE SCRIPT AND IS PROVIDED AS IS. PLEASE DO NOT CONTACT CUSTOMER SUPPORT FOR ASSISTANCE WITH THIS ARTICLE OR EXAMPLE. When in a ticket, under the Formatted Activities (work notes). You can filter what is being displayed, see screenshot below. With no filters applied: With filters applied (plain black text): Release or EnvironmentAll current releasesCauseThe default behavior is as it was designed, there is no defect or problem.ResolutionThere is no current OOB mechanism to allow for the easy modification of the Activities (filtered) text on the hr_case.do form (others can be created for other forms): NOTE: THIS EXAMPLE UI SCRIPT IS NOT SUITABLE FOR RELATED LISTS AS SHOWN BELOW The following will allow for the word "Filtered" to be highlight in RED.1. Create a new UI Script with UI Type as Desktop, and Global checked.2. Enter the code as shown below (see screenshot for reference as well) ~~~snip~~~(function(){// Just run on incident form pagesif ( !~location.href.indexOf( 'hr_case.do' ))return;var styles = ['div.activity-stream-label span.activity-stream-label-filtered { color:#F00; }'].join(' '),link = document.createElement( 'link' );link.type = 'text/css';link.rel = 'stylesheet';link.href = URL.createObjectURL( new Blob([ styles ], { type: 'text/css' }) );(document.head || document.documentElement).appendChild( link );})();~~~/snip~~~ 3. Go to the hr_case.do form and select your preferred Activity list items via the funnel icon on the right of the activity stream4. Observe the "(filtered)" text now appears highlighted in Red text...please see the attached screenshot showing what should be displayed. Please tailor this example to your own needs as required.Additional InformationWhile mentioned several times above, it's worth saying again: This example UI script is not supported or endorsed by ServiceNow. Use this example script at your own risk.