How to Change Knowledge Article state from Retired to Published?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-18-2017 02:03 AM
Help me out to edit an article state...
2 REPLIES 2

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-18-2017 02:18 AM
Hi Priyanka,
As per existing workflows, if an article is retired a new article has to be created in its behalf.
But if you want only the state to be updated, just run a background script to update the state. But strictly speaking this is not recommended.
var gr = new GlideRecord("kb_knowledge");
gr.get('<sys_id_of_knowledge_article>');
gr.workflow_state='published';
gr.update();
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-18-2017 03:48 AM
Thank you 🙂 Gowrisankar