OBLYTECH Logo
OBLYTECH Logo

Managed Documents in ServiceNow: Create, Review and Publish

Managed Documents is the ServiceNow application for controlling electronic documents inside an instance. A document is a managed record. Its file is attached, edited through check-out and check-in, reviewed, approved and then published as a revision. Administrators define the document parameters first, with the Knowledge Document plugin installed for the managed document cycle.

What the application covers

Managed Documents is a lightweight, ITIL-based solution for creating and managing electronic documents within an instance. It suits files that need a controlled route to publication, such as policies, guidelines, procedures and contracts. For the neighboring concept of a document template, see ServiceNow Document Template Explained.

Two plugins are involved. The Managed Documents plugin describes the application’s modules, table structure, scripts and roles. The Knowledge Document plugin extends it so managed documents can be published to the Knowledge Base.

Set the document parameters before anyone creates a record

A user with the document_management_admin role defines the parameters that decide which documents the application manages. Base options are supplied, and custom options can be added. The parameters are:

  • Type, which states the purpose of a document and sets its default format and name format.
  • Classification, which records the restriction level, such as public or confidential. Document security is set through user and group permissions.
  • Audience, which states the intended readers.
  • Name format and name components, which generate the name of each revision.
  • Approval rules, which add approvers to a document in addition to the reviewers entered on the record.

The base system ships with these options:

  • Policy (POL)
  • Guideline (GUI)
  • Procedure (PROC)
  • Contract (CON)

A Contract document shows a Contracts related list on its record. New types, audiences and approval rules are added under Managed Documents, Administration, and each type has a short code that the name format references.

Assign the roles each step needs

The document_management_user role gives access to the application, document creation and search. The document_management_admin role allows changes to its administrative settings. Creating a record, checking out, checking in, submitting a revision, publishing and rolling back each require document_management_admin or document_management_user.

Application access does not grant access to every document. Individual document permissions still apply. Reviewers and approvers need document_management_user to enter the application, although they can also access a revision from an approval record. For how access rules are built, see ServiceNow Access Control List (ACL) Explained.

Create the document record

Open All, Managed Documents, Create New. The standard procedure fills the form as follows:

  • Name is the document’s name, and the name format combines name components into the name of each revision.
  • Requested by, Owner and Reviewer each take the name of a person.
  • Type, Classification and Audience are chosen from the parameter lists.

Under Revision Settings, select Auto increment revision when following the standard creation procedure. Select Submit. Then add the file as an attachment to the saved record. A simple file, such as a text file, can be uploaded as the attachment.

Check out, revise and check in

One user at a time can revise a document, so the file is checked out first. Open the record, select the Check Out Document related link, and choose Download file if a copy of the current version is needed. Click Check Out, then edit the file.

When the edits are finished, open the record and click the Upload/Check In Revision related link. Choose the revised file, confirm that the Name and Revision Number contain the updated number, and click OK.

Review and approval

Check who must participate

Approval rules add approvers when the document matches their criteria. Reviewers are identified on the document record. Before submission, check these assignments against the intended decision: review evaluates the draft before the approval stage begins. Do not assume that adding several names requires unanimous agreement.

Send for review

In the Document Revisions list, right-click the revised document and select Submit Revision. With reviewers assigned, the revision enters Awaiting Review, the document becomes Active, and its name and parameters become read-only. If the record has no reviewer, the review is omitted, and if it has no approver, the approval is omitted.

Reviewers receive an approval request by email. The message links to the approval request, where the reviewer can inspect the attachment and approve or reject it.

A rejection cancels the review and notifies the author and owner, who then discuss with the reviewer what changes must be made. An approval notifies the author and owner and lets the document move to approval.

With several reviewers, the first one to act decides. A first rejection sets the revision state to Cancelled, and a first approval moves the document to approval. The other reviewer is set to No Longer Required in both cases.

Approval sequences

After review, a document that has approvers is submitted for approval. A document with no approver skips this stage.

Approvers are grouped by sequence number, and sequences run in ascending order. Later sequences start once the earlier ones finish. Two approvers can share a sequence number, in which case one approval from that group is enough to move on.

Inside a sequence, the first approver to act decides. A rejection cancels the approval and notifies the author and owner, and the other approvers in the sequence are set to No Longer Required. An approval moves the document to the next sequence. After the final approver approves, the stage changes to Ready for Publishing.

Electronic signature for approval

The Approval with e-signature plugin requires users to enter a username and password after selecting Approve or Reject. This signature is not stored in the document record. A user with the admin role activates the plugin and checks All, System Definition, e-Signature Registry for an enabled entry for dms_document_revision. If the entry is missing, create one with Table name set to Document Revision, select Enabled and submit it. For the broader setup, see Digital signatures and e-signature in ServiceNow workflows.

Publish, retire and roll back

Publishing starts in the Document Revisions list. Click the revision in the Ready for Publishing stage, select Publish Revision in the header bar, and check the name and revision number in the dialog. The number matches the latest revision by default and can be changed there when the standard is to change it at publication, such as moving to 1.1 or 1.0.1. Click Publish.

The published revision moves to the Published stage, and each previous revision moves to Retired. Any workflows running against earlier revisions are canceled at that moment.

Rolling back returns a document to an earlier revision. The document must not be checked out, and the person must hold Editor or Owner permission on it. Click the target revision in the Document Revisions list, right-click the header bar and choose Rollback. The Rollback to Revision dialog shows a new name and revision number, and its note records the revision rolled back to. Click OK, and the selected revision becomes the latest.

Check the handoffs before rollout

Test the cycle with a representative file and the people expected to perform each action. After check-in, inspect the revision name and number before submission. After review, check the remaining approval sequences before expecting Ready for Publishing. After publication, inspect both the current revision and the retired predecessor. These checks separate a missing assignment from an unfinished decision.

If a user cannot open the document, examine individual permissions as well as the application role. If a revision cannot be rolled back, first check whether the document is checked out and whether the person has Editor or Owner permission. Treat a confidential classification as a label to verify against actual access, rather than evidence that access has been restricted.

For help planning this work, see ServiceNow implementation.

Workflows and scope limits

From Yokohama onwards, Managed Documents workflows follow a standardized design approach. Existing customers can keep the deprecated out-of-box workflows, but the new out-of-box flows are the recommended route, and flows are the advised option for new requirements. For the building blocks of a flow, see ServiceNow Action (Flow Designer) Explained.

Questions about related document actions

Does revising a document refresh its Knowledge article attachment?

No. Link the revised document to the article again after publishing it. Linking requires document_management_user and knowledge, the Knowledge Document and Knowledge Management Advanced plugins, and contribute access to the relevant Knowledge Base or existing article. A managed document can be linked to one article.

Can the Knowledge linking behavior change for a later revision?

Once a Behavior setting is selected for a document, it cannot be modified during revision. Choose between Always create record and Update existing record before the initial link, based on whether the publishing process needs a new article or an updated attachment on the linked article.

How can a team group documents without combining their files?

A document collection groups individual uploaded documents. With document_management_admin or document_management_user, open All, Managed Documents, Document, My Collections, create a named collection, then reopen it and use Edit to add available documents. Save the membership and check the resulting list.

What can an author do when work is temporarily paused?

A document can be deactivated to set its state to Inactive and reopened later. Reserve cancellation for a document to which no further changes will be made. Agree which situation applies before choosing the action, so temporary pauses do not become permanent stops in the team’s working process.