How to publish multiple Knowledge at once.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-29-2022 09:03 PM
Is there a way to publish multiple Knowledge in bulk in OOTB?
Currently, we are only aware of the procedure to publish knowledge one by one from the form screen.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-29-2022 09:18 PM
You can update via background script as well
you can go with this
kb.addEncodedQuery('workflow_state=draft^ORworkflow_state=review');
or
kb.addEncodedQuery('numberINKB0010017,KB0010016');
var kb = new GlideRecord('kb_knowledge');
kb.addEncodedQuery('workflow_state=draft^ORworkflow_state=review'); // get the articles you want to publish
kb.query();
while(kb.next())
{
kb.workflow_state = 'published'; //choice value for Published state
kb.update();
}
Harish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-03-2022 09:23 PM
Thank you for your response.
I understand that the script allows multiple knowledge to be published at once.
Is it possible to achieve this with the OOTB function instead of a script?