KB articles stuck in review
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2016 01:46 PM
We recently switched from the knowledge instant publish workflow to the knowledge - approval publish workflow. As a result, we have some articles stuck in a "Review" state with no approvals to publish the article. I can edit the workflow state from the list view because its disabled and cant do an update all on the list view. Any ideas of how to get these to another state than review?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2016 12:54 PM
Can you edit the articles in the list view or not?
If all the reviewed state articles are tied to one knowledge base, we can write a back ground script and update the state values to whatever the desired state that you needs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2016 03:15 PM
We had a similar problem and resolved it by creating a UI Action that would publish the article:
Condition:
gs.hasRole ( 'knowledge_admin' ) && current.workflow_state=='review'
Script:
var answer=new KBWorkflow().progressStatus(current,'published');
current.update();
var context=new KBWorkflow().startWorkflow(current,'workflow');
The Form Action and Form Button check boxes are selected. I hope this helps.
Dustin

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2017 08:11 AM
Here we are almost a year later. I'm in Istanbul and had an article stuck in Review.
It had already been approved. I tried changing the Approval record state but that didn't do anything.
Dustin your advice helped me. If I could mark your answer as correct I would (hint, hint, Josh Brostoff ).
(Note: When your UI Action runs it restarts the workflow which is really all I needed. Oddly, after the stuck article was published and I tried to retire it, the approvals kicked off again. So I rejected the approvals which put the workflow_state back to 'Draft'. From there, finally, I could retire it--which was my ultimate goal in this case. May the stars see to it that this never happens again, but at least I've a workaround in my back pocket now.)
Appreciate it. Cheers!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2017 08:22 AM
Condition:
gs.hasRole ( 'knowledge_admin' ) && current.workflow_state=='review'
A side note here: knowledge_manager role are those that approve/reject articles; knowledge_admin tends to be those that build KBs but don't manage them.