Knowledge is not getting checked out

SHUBHAM78
Tera Contributor

Hi Community,
As i am trying to checkout the KB article, but when i click on the UI button it shows the article is already checked out. But it is in published state and some how in the list view we are having duplicate KB number, one it in published state and other is in outdated state and the sys ID is also same. Kindly suggest any solution how to fix this.

SHUBHAM78_0-1781185224855.pngSHUBHAM78_1-1781185285586.png

 

4 REPLIES 4

SHUBHAM78
Tera Contributor

Small correction the sys Id is different not same

Dr Atul G- LNG
Tera Patron

Please repair the Knowledge Management plugin and check it.

*************************************************************************************************************
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/dratulgrover [ Connect for 1-1 Session]

****************************************************************************************************************

Tanushree Maiti
Tera Patron

Hi @SHUBHAM78 

 

Check these KB: KB0779080 Not checked out article says it's checked out 

KB3018002 KB article cannot be checked out. "You cannot checkout this article as it is already check... 

 

 

Please Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti

vaishali231
Kilo Sage

Hey @SHUBHAM78 

 

Based on your description, this appears to be a Knowledge Management versioning/check-out inconsistency rather than a duplicate record issue.

Since you clarified that the two records have different sys_ids, what you're seeing is likely different versions of the same KB article. In ServiceNow, multiple records can share the same KB Number while representing different article versions (Published, Retired, Outdated, Draft, etc.).

The error:

"You cannot checkout this article as it is already checked out."

typically occurs when ServiceNow detects an existing checked-out version in the article version chain, even if the currently visible version is in Published state.

Recommended troubleshooting steps:

Verify all versions of the article

Navigate to Knowledge > Administration > Articles.

Search for KB0011900.

Add columns such as:

  1. Version
  2. Workflow State
  3. Checked Out
  4. Checked Out By
  5. Published

Check for a hidden draft or checked-out version

Sometimes a draft version exists that is not obvious from the default list view.

Look for records in Draft, Review, or Checked Out states.

Run a background script to inspect all versions

var gr = new GlideRecord('kb_knowledge');

gr.addQuery('number', 'KB0011900');

gr.query();

while (gr.next()) {

    gs.print(

        'Version: ' + gr.version +

        ' | State: ' + gr.workflow_state +

        ' | Checked Out: ' + gr.checked_out +

        ' | Checked Out By: ' + gr.checked_out_by +

        ' | Sys ID: ' + gr.sys_id

    );

}

Review article version history

Open both records.

Check Related Links → Version History.

Verify whether a newer draft/check-out version exists.

Check for orphaned checkout status

In some cases, a checkout process may have been interrupted, leaving the article flagged as checked out.

If you identify a record that is incorrectly marked as checked out and no user is actively editing it, an administrator can clear the checkout flag after proper validation.

Additional Question:
Can you provide the following details for both records?

  1. Version
  2. Workflow State
  3. Checked Out
  4. Checked Out By

This information will help determine whether the issue is caused by an active checkout, an orphaned checkout flag, or a Knowledge article versioning inconsistency.

 

*************************************************************************************************************************************

If this response helps, please mark it as Accept as Solution and Helpful.

Doing so helps others in the community and encourages me to keep contributing.

Regards

Vaishali Singh

Servicenow Developer
Linkedin - https://www.linkedin.com/in/vaishali-singh-2273361bb