Articles in Draft stage
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
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
3 weeks ago
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
3 weeks ago
Instruct authors to choose 'delete' button to remove the drafts
