Articles in Draft stage
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2025 05:15 AM
In the list of published article list there are almost 350 plus articles in draft stage which are not available for the employee in EC pro. I wanted to know how can we retire the articles without the authors publishing it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2025 08:31 AM
Hi @gopunkutty,
Create a fix Script "Retire Draft Article":
var kbArticle = new GlideRecord('kb_knowledge');
kbArticle.addQuery('workflow_state','draft');
kbArticle.setValue('workflow_state','retired');
kbArticle.setWorkflow(false);
kbArticle.updateMultiple();
Thanks & Regards,
Muhammad Iftikhar
If my response helped, please mark it as the accepted solution so others can benefit as well.
Muhammad Iftikhar
If my response helped, please mark it as the accepted solution so others can benefit as well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2025 02:04 AM
Instruct authors to choose 'delete' button to remove the drafts
