Show expired articles in knowledge search results

mmandozzi
Kilo Explorer

Is there an easy way to allow expired articles to show up in search results? Thanks!

5 REPLIES 5

PeterWiles
Kilo Sage

Silly question but why?
I'm not sure but can check in the morning.


CapaJC
ServiceNow Employee
ServiceNow Employee

If expired, for you, really just means time to review an active article, you could create a new date/time field for that purpose.

To show articles past their valid_to date in search results, you can find every UI Page and UI Macro with "valid_do" in their HTML/XML, where it's probably being used in a query, and remove that part of the query. Big downside is you'd own those things and not get future updates.

But even with that, you won't be able to show those articles in the Knowledge portal, since the query used there is hardcoded in a file not accessible in the database to be customized.

You could open an Enhancement Request with customer support to provide a property you could flip to let you do this.


mmandozzi
Kilo Explorer

More often than not, expired articles will be extended and remain in use. We don't want them to drop out of result sets if they are not reviewed and extended before the expiration date.


Hi--if they have already reached the expiration date, is there any way to make them active again by changing the date? We have a bunch of articles that expired, and we need to make them visible again, because they are still relevant. Not sure how to do this, or if it is possible?