'Checkout' UI action does not appear for some KB articles.

AngelP83
Giga Guru

Hello everyone,

I have seen articles and other discussion with the same question, but I haven't found a suitable answer for my question.

Most of the answers say to Set the versions to OUTDATED instead of RETIRED

https://www.servicenow.com/community/developer-forum/checkout-ui-action-is-not-available-in-the-know...

But I don't even know how to change the old version to OUTDATED.

  • I tried retiring the KB and re-enable it again, still doesnt work.
  • I know the feature (versioning) is enable because I can see the versions.
  • Another forum says to create new KBs, but still nothing.

It seems like the UI Actions has the following condition:

!(new KBCommon().isStackNameDialog()) && (new KBCommon().isVersioningEnabled()) && (new KBVersioning().canCheckout(current))

 

I dont know if the KB doesnt meet the criteria, or because I am the author. I can provide more information if needed.

Thank you

 

 

 

 

2 REPLIES 2

Ahana 01
Tera Expert


The 'Checkout' UI action may not appear for some Knowledge Base (KB) articles due to several reasons. Here are some possible causes and solutions:

1. **User Permissions:**
- The user may not have the necessary roles to see the 'Checkout' UI action.
- Solution: Ensure the user has the correct roles assigned.

2. **UI Action Conditions:**
- The 'Checkout' UI action may have conditions that are not being met.
- Solution: Review the conditions for the UI action and ensure they are being met.

3. **UI Action Visibility:**
- The 'Checkout' UI action may be set to not display in certain views or forms.
- Solution: Check the 'Form button' and 'List button' checkboxes in the UI action record.

4. **KB Article State:**
- The 'Checkout' UI action may not appear if the KB article is not in a state that allows checkout (e.g., published state).
- Solution: Ensure the KB article is in a state that allows checkout.

5. **Script Errors:**
- There may be a script error in the 'Checkout' UI action script.
- Solution: Review the script for any errors and correct them.

6. **KB Article Versioning:**
- If the KB Article versioning is not enabled, the 'Checkout' UI action may not appear.
- Solution: Enable KB Article versioning.

Remember to test any changes in a sub-production instance before applying them to your production instance.


nowKB.com

For a good and optimistic result, and solving ServiceNow-related issues please visit this website.https://nowkb.com/home
Kindly mark correct and helpful if applicable

 

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @AngelP83 

 

But I don't even know how to change the old version to OUTDATED.

  • I tried retiring the KB and re-enable it again, still doesnt work.

Atul: I am on Vancouver release now and I can do this easily, where juts retire the KB via UI action and publish it again.

LearnNGrowAtul_0-1706178608669.pngLearnNGrowAtul_1-1706178651105.png

and after this it go for approval and retire and then i can publish again.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

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/atul_grover_lng [ Connect for 1-1 Session]

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