Using a system property for a filter

KB15
Giga Guru

For a filter condition, I'd like to call a system property that references a group.

Thought this would work but obviously it doesn't

javascript:gs.getProperty('prop_name')

Would I have to create some intermediate script/record to put it into a filter condition? What would that script include and the filter's condition look like?

1 ACCEPTED SOLUTION

KB15
Giga Guru

You can use a script include function and just add "return gs.getProperty('propertyname')"

Reference: https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0746219

View solution in original post

1 REPLY 1

KB15
Giga Guru

You can use a script include function and just add "return gs.getProperty('propertyname')"

Reference: https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0746219