Articles in Draft stage
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
7 hours 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.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 hours 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.