Retiring multiple kb articles at one time

Cupcake
Mega Guru

We have about 400 kb articles that we want to retire. Is there any easy way to do a mass retirement of all of the items that is no longer required?

15 REPLIES 15

bb10
Kilo Contributor

I try this script only one article retire when I run the script.

nishailame
ServiceNow Employee
ServiceNow Employee

If this is one time job, then you can use scripts background.




Thanks.


PS: Hit like, Helpful, Correct and Endorse, if it answers your question.


SanjivMeher
Kilo Patron
Kilo Patron

Hi Karen,



I would suggest creating a list UI action to retire the articles in bulk.



Then you can retire 500 articles or 100 per list based on your settings in a list view. Retiring 100 per transcation shouldn't cause performance issue.



You can also use this fuctionality in future to bulk retire articles.



Use the out of box ui action 'Retire' and convert it to a list ui action as well. Try on DEV first.



Please mark this response as correct or helpful if it assisted you with your question.

above is interesting, and I was able to retire articles in list view but sadly it puts it to state in workflow of pending retirement which means approval now needed to fully retire them all 😞

Any suggestions, much appreciated.

Ashish Nahar
Kilo Guru

Were you able to test the solution?