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.

Hide records with state as 'closed' or 'canceled'

AshutoshJ
Tera Contributor

I want to hide those rows in the incident table, which have the state as 'closed' or 'canceled. 

When i open the incident table, it should not display any tasks which are in 'closed' or 'canceled' state.

i dont want to use filter. I want to use script for this. 

What should i do?

5 REPLIES 5

Arpan Baishya
Kilo Sage

Hi @AshutoshJ,

 

Just to add on to what @Mark Manders suggested, you can consider creating a new module [sys_app_module] for the Incident table where you can specify the filter for excluding 'closed' or 'canceled' incidents. That way, your users could use that module for easy access.