Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Knowledge - Approval Publish workflow, articles gets stuck in Draft

Joakim St_ckel
Tera Expert

Hi SN-community!

 

I'm trying to add the OOTB Approval workflow (Knowledge- Approval Publish) to our instance. It works as intended, as long as it's a new Knowledge Article that is then submitted for the Approver to review (goes into Review state). After that, the assigned approvers in the group, can then Approve/Reject. If Approved, the Knowledge Article gets published.
Lovely!

(View attachment for Workflow below)
The only edit I've done, is for Admins to skip this approval flow and go instantly to Publish. It works as intended as well.


But... if the article gets rejected, or if the article has been checked out and it lands in Draft state. Then nothing happens when trying to click the Publish button.

I'm starting to think, that it's the Publish UI Button that is causing this... Because, why, if it needs to be approved, should the end-user even be able to click Publish? As it wont be published... without an approver accepting it?

2 REPLIES 2

Allen Andreas
Tera Patron

Hello,

Sorry, your post is a bit confusing because you're covering a few different scenarios adding a bit of extra context that may be causing the confusion.

 

When an end-user creates an article, it starts in draft, and they'd need to "save" the form. The publish button appears, but that merely means to submit it for publishing to review. Not actually publishing the article. That is what generates the approvals. So when they click publish, the approvals should be set and this workflow shown here would start if its set for the knowledge base.

Please mark reply as Helpful/Accepted, if applicable. Thanks!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

Hi, yes sorry for that.

 

Simply, the Knowledge - Approval Publish workflow is implemented. But the problem is:

If a new Article is created, the article goes into Review state. The approver user can then Approve/Reject.
If Approved, the Article goes into Published state.
If Rejected, the Article goes into Draft state.
Or if an Article is Checkedout, it goes into Draft state.

When the Article goes into Draft state. The Publish button appears up in the right corner for users to click. When clicked, nothing happens (Same happens with Save or Update) . The Article remains in Draft state. The Article doesn't go into Review state, for Approvers to review.

Basically, it wont go around and around like the wheel. I hope this was easier to understand, thank you.