Knowledge Management
Knowledge Base Structure
ServiceNow organizes knowledge using a three-level hierarchy. Understanding this hierarchy — and the underlying tables that support it — is fundamental for both the exam and day-to-day administration.
The Three-Level Hierarchy
1. Knowledge Base (KB)
The top-level container. Each KB is an independent repository with its own access rules, workflows, and ownership. A single instance can host multiple KBs — one per department or business unit.
Table: kb_knowledge_base
2. Category
Sub-divisions within a Knowledge Base. Categories are hierarchical — a category can have parent and child categories, allowing tree-like organization of content.
Table: kb_category
3. Knowledge Article
The actual content record. Each article belongs to one Knowledge Base and one Category. Articles carry a unique article number, lifecycle state, and version history.
Table: kb_knowledge
Key Tables — Exam Reference
| Table Name | Stores | Key Fields |
|---|---|---|
kb_knowledge_base |
Knowledge Base records (root containers) | title, owner, kb_managers, kb_knowledge_base |
kb_category |
Category records (sub-divisions of KBs) | label, kb_knowledge_base, parent_id |
kb_knowledge |
Knowledge Articles (the actual content) | number, short_description, workflow_state, kb_knowledge_base, kb_category |
kb_feedback |
Article feedback and ratings from users | article, rating, comments, flagged |
Multiple Knowledge Bases Per Instance
A single ServiceNow instance commonly runs several Knowledge Bases simultaneously, each scoped to a specific audience or domain:
Troubleshooting guides, how-to articles for IT issues
HR policies, benefits information, onboarding docs
External-facing articles for customer self-service
Building procedures, maintenance guides
kb_knowledge_base table is the root. Articles live in kb_knowledge and always reference both a KB and a Category.
Knowledge Article Lifecycle
Every knowledge article progresses through a defined set of states. Understanding these states — particularly which state makes an article visible to end users — is one of the most tested areas on the CSA exam.
Article States
Draft
Article is being written. Not visible to end users or in search results. Only the author and knowledge managers can view it. This is the initial state for all new articles.
workflow_state = draft
Review
Article has been submitted for approval. Awaiting review by a knowledge manager or approver. Still not visible to end users. Approval workflow is active.
workflow_state = review
Published
Article is approved and live. Visible to end users in the Knowledge Base, Service Portal search, and related article widgets. This is the only state accessible to standard users.
workflow_state = published
Retired
Article is no longer active. Removed from search results and not visible to end users, but the record is retained in the database for historical reference. Can be re-published if needed.
workflow_state = retired
Lifecycle Flow
Article Number and Identification
- Each article receives an auto-generated article number with the KB prefix (e.g.,
KB0001234) - The number is stored in the
numberfield onkb_knowledge - Article numbers are unique across the instance regardless of which KB the article belongs to
Versioning and Validity
| Feature | Description | Use Case |
|---|---|---|
| Versioning | Multiple versions of the same article can exist. Each revision creates a new version record linked to the original. | Updating a procedure while keeping history of old instructions |
| Valid From | Date from which the article is considered current and valid | Schedule an article to become active on a future date |
| Valid To | Expiration date — after this date the article auto-retires or flags for review | Policy articles that must be reviewed annually |
| View Count | Tracks how many times users have viewed the article | Identify high-traffic articles for quality review |
| Rating | Aggregate star rating from user feedback (1–5 stars) | Surface most-helpful articles; flag low-rated articles for review |
knowledge_admin role can publish articles directly without going through the approval workflow. All other contributors must submit through the standard Draft → Review → Published workflow.
Knowledge Roles
ServiceNow uses a tiered role model for Knowledge Management. Each role grants a specific level of access across the Knowledge Base hierarchy. These roles are frequently tested on the CSA exam.
Role Hierarchy
knowledge_admin
Full control over all Knowledge Bases and all articles on the instance. Can create, edit, delete, publish, and retire any article. Bypasses the approval workflow — can publish directly. Manages KB settings, workflows, and user assignments.
knowledge_manager
Manages categories and articles within their assigned KB(s). Can approve, publish, and retire articles in their KB. Cannot manage other KBs they are not assigned to. Assigned via the KB Owner or KB Managers field on the KB record.
knowledge_contributor
Can create and edit articles in Draft state. Submits articles for review but cannot publish. Typically granted to subject-matter experts, agents, and technical writers who author content.
No Role (End User)
Read-only access to Published articles — but only if the Knowledge Base allows public or logged-in access. The KB's "Accessible by" setting controls whether users without explicit roles can read articles at all.
Role Comparison Table
| Capability | No Role | knowledge_contributor | knowledge_manager | knowledge_admin |
|---|---|---|---|---|
| Read Published articles | ✓ (if KB allows) | ✓ | ✓ | ✓ |
| Create Draft articles | ✗ | ✓ | ✓ | ✓ |
| Submit for Review | ✗ | ✓ | ✓ | ✓ |
| Approve and Publish | ✗ | ✗ | ✓ (their KB) | ✓ (all KBs) |
| Retire articles | ✗ | ✗ | ✓ (their KB) | ✓ (all KBs) |
| Manage KB settings | ✗ | ✗ | Limited (their KB) | ✓ (all KBs) |
| Bypass approval workflow | ✗ | ✗ | ✗ | ✓ |
| Create new Knowledge Bases | ✗ | ✗ | ✗ | ✓ |
KB Owner Field
Each Knowledge Base record has an Owner field and a KB Managers field. Users listed in these fields automatically receive knowledge_manager-level control over that specific KB, even without the global knowledge_manager role.
knowledge_admin role sparingly (to central KM admins), use the KB Owner / KB Managers fields for department-level managers, and assign knowledge_contributor to authors. This keeps management scoped to the appropriate KB.
Access Control for Knowledge
Knowledge access control works at three layers: Knowledge Base level, Category level, and Article level. These layers work together to create fine-grained control over who can read and contribute to knowledge content.
Layer 1 — Knowledge Base Level
The "Accessible by" field on the Knowledge Base record is the primary access gate. It determines the audience for all articles within that KB.
| Accessible By Setting | Who Can Read Articles | Typical Use Case |
|---|---|---|
| Everyone | All users including unauthenticated users (public access) | External customer-facing knowledge portals |
| Logged-in users | Any authenticated user on the instance | Internal company-wide knowledge bases |
| Specific roles | Only users who hold the specified role(s) | Restricted KBs for HR, Finance, or security teams |
Layer 2 — Category Level
Individual categories within a KB can apply additional restrictions. A category can be more restrictive than its parent KB — for example, an IT Knowledge Base may be accessible to all logged-in users, but a "Security Incidents" category within it can be restricted to the security team only.
Layer 3 — Article Level (User Criteria)
Individual articles support the most granular access control through User Criteria. User Criteria are reusable access rules that can be applied to both reading and contributing.
Can Read (User Criteria)
Defines exactly which users or groups can view this specific article. Applied via the "Can Read" field on the article. Uses User Criteria records for reusable rule definitions.
Can Contribute (User Criteria)
Defines who can edit this specific article beyond the standard contributor role. Allows article-level write control without granting broad KB access.
User Criteria Records
User Criteria are records in the user_criteria table that define a named set of users based on:
- Specific users (by reference to sys_user)
- Groups — all members of a specified group
- Roles — all users holding a specified role
- Companies — for multi-company/tenant scenarios
- Departments — organizational unit-based access
Knowledge Workflows
Knowledge workflows govern how articles move through their lifecycle states. ServiceNow provides default workflows and allows customization per Knowledge Base.
Default Workflows
Default Approval Workflow
Triggered when a contributor submits a Draft article for review. Routes the article to the KB manager or approver. On approval, the article moves to Published. On rejection, it returns to Draft with feedback comments.
Retire Workflow
Triggered when a manager initiates article retirement. May include a notification step to the original author. Moves the article to Retired state and removes it from search indexes.
Custom Approval Workflows
Each Knowledge Base can be configured to use a custom approval workflow instead of the default. This allows multi-stage approval, parallel review, or specialized routing logic per business unit.
Workflow Configuration Per KB
- Navigate to the Knowledge Base record and look for the Workflow field
- Select the approval workflow to use — defaults to the system default workflow
- Different KBs can use entirely different approval chains
- The HR Knowledge Base might require an HR director approval, while IT KB goes to the IT manager
Workflow Bypass — knowledge_admin
knowledge_admin role can publish articles directly, bypassing the approval workflow entirely. They can move an article straight from Draft to Published without going through Review. This is a deliberate design for trusted administrators who need to publish urgent content quickly.
Approval Flow Detail
Contributor creates article (Draft)
↓
Contributor clicks "Submit for Review"
↓ [Workflow triggers]
Article state → Review
↓
Approval task sent to KB Manager
↓
KB Manager reviews content
├── Approved → Article state → Published (visible to users)
└── Rejected → Article state → Draft + comments returned to author
Knowledge in Service Portal
The Service Portal is the primary self-service interface where end users interact with Knowledge Management. ServiceNow provides several out-of-box widgets and integration points for surfacing knowledge content.
Knowledge Widgets in Service Portal
KB Widget
Displays a browsable Knowledge Base with category navigation and article listings. Users can browse by KB, category, or search directly. Respects all KB-level and article-level access controls.
Search Integration
Knowledge articles are indexed and included in global search results across the Service Portal. The search engine respects access controls — users only see articles they're permitted to read.
Related Articles Widget
Surfaces relevant knowledge articles based on the content of an open incident or service request. Uses keyword matching and AI-assisted relevance scoring to suggest helpful articles automatically.
Attach to Record
Agents can attach knowledge articles directly to incidents, problems, and other records. The "Attach to Record" functionality links the kb_knowledge record to the target record via a relationship table.
How Related Articles Surface in Incidents
When an agent is working an incident, ServiceNow can automatically suggest relevant knowledge articles. This integration requires:
- A Knowledge widget or Related Knowledge section configured on the incident form
- Published articles in a KB that the agent has read access to
- Text in the incident's short description or work notes to drive the search query
- The agent can then review suggestions and attach a relevant article with one click
Service Portal Navigation Path
Service Portal Home
└── Knowledge Base (top nav or search bar)
└── Select Knowledge Base (IT, HR, etc.)
└── Browse Categories
└── Browse Sub-categories (if nested)
└── Open Article → Rate / Flag / Attach to Record
Feedback and Flagging
ServiceNow Knowledge Management includes a feedback loop that allows users to rate articles and flag content for review. This data helps knowledge managers identify high-quality articles and those needing improvement.
Article Rating System
Star Rating (1–5)
Users can rate published articles on a 1–5 star scale. Ratings are aggregated into an average score displayed on the article. The aggregate rating is stored on the kb_knowledge record.
Useful / Not Useful
Binary feedback option — simpler than the full star rating. Users click Useful or Not Useful. Useful/not-useful counts are tracked and used in relevance scoring for search results.
Flagging for Review
Any user can flag an article to indicate it contains outdated or incorrect information. Flagged articles are surfaced to knowledge managers for review. Multiple flags can trigger an automatic workflow to retire or update the article.
The kb_feedback Table
All feedback interactions — ratings, comments, and flags — are stored in the kb_feedback table. Key fields include:
| Field | Description |
|---|---|
article |
Reference to the kb_knowledge record (the article being rated) |
rating |
Numeric rating value (1–5) |
comments |
Optional free-text feedback from the user |
flagged |
Boolean — true if the user flagged the article for review |
useful |
Boolean — true if the user marked the article as useful |
sys_created_by |
The user who submitted the feedback |
Using Feedback Data
- Knowledge managers can run reports on
kb_feedbackto identify low-rated articles needing revision - Articles with many "Not Useful" responses are candidates for rewriting or retirement
- Highly rated articles are surfaced higher in search results (relevance boost)
- Flagged articles appear in the knowledge manager's dashboard for immediate attention
- Feedback data can be used in dashboards and performance analytics to measure KB health
Key Exam Facts & Common Traps
This section consolidates the most frequently tested Knowledge Management facts and the most common wrong-answer traps on the CSA exam. Review this section before your exam.
knowledge_admin role bypasses the approval workflow and can publish articles directly from Draft to Published. knowledge_manager and knowledge_contributor must go through the standard approval flow.
kb_knowledge table with workflow_state = retired. This preserves historical data and allows re-publishing if needed.
parent_id field on kb_category establishes this relationship. A child category inherits — and can further restrict — its parent's access controls.
kb_knowledge.workflow_state field. Valid values are: draft, review, published, retired. Know this field name — exam questions may reference it directly when asking about querying article states.
knowledge_manager role without a KB assignment does not automatically manage all KBs. Managers are scoped to KBs where they are listed as Owner or KB Manager. Only knowledge_admin has instance-wide management authority.
Quick-Reference: All Key Facts
| Topic | Exam Fact |
|---|---|
| Article visibility | Only Published articles are visible to end users |
| knowledge_admin | Bypasses approval workflow; publishes directly |
| Default KB | The out-of-box default is the "IT" Knowledge Base |
| Retiring articles | Removes from search; record is kept in the database |
| Category structure | Hierarchical — categories can have parent and child categories |
| State field | kb_knowledge.workflow_state stores Draft/Review/Published/Retired |
| Feedback table | kb_feedback stores ratings, comments, flags, useful/not-useful |
| User Criteria | Used for fine-grained article-level access control (Can Read / Can Contribute) |
| Article number prefix | Articles use KB prefix (e.g., KB0001234) |
| Multiple KBs | One instance can host multiple independent Knowledge Bases |
| KB table | kb_knowledge_base is the root table for KBs |
| Category table | kb_category stores categories, references kb_knowledge_base |
- A
knowledge_contributorwrites a new article → it starts in Draft - Contributor submits for review → article moves to Review, approval task sent to KB manager
- KB manager approves → article moves to Published, now visible in Service Portal search
- End user searches portal, finds article, rates it 2 stars and flags it → feedback stored in
kb_feedback - KB manager sees flagged article, edits it (creates new version), re-approves → article back to Published with updated content
- Original article becomes outdated and is retired →
workflow_state = retired, removed from search, record preserved