- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
Today we are going to review and build out HR document tasks starting from the ground up. These document tasks get assigned for signing or completion by users of the platform, in our example these will be employees. There are several components and while this is all documented there are many turns that can take you off course.
https://www.servicenow.com/docs/csh?topicname=document-templates-overview.html&version=latest
Understanding the Components
Configuring document tasks starts with understanding the key components. In this post, we will build this out but in reverse order so we can reference our data in following steps.
- Create document templates
- Creating HR templates and automating document task generation
- Set up an HR service configuration
Step 1: Building the Document Template
Creating a document template requires the below steps and assumes you have the “Document Templates” plugin installed.
- Navigate to Document Templates > All Document Templates and create a new record
- Select HTML Document Template, you could select another type however the below steps to build the Document Template will differ slightly.
- Populate the following fields
- Name: ensure this is meaningful as users will see this information
- Table: <target_table> likely HR Case
- Body: Enter the body of the article
- Note this is formatted like an email notification and you can inject fields from the table referenced above.
- Save or Submit the record
- Open the newly created Document Template
- Locate the Participants related list and click New within the related list
- Create a new Participant record
- Name: <name>
- User: Subject person
- Order:100
- Click Submit
- Ensure you are back on the Document Template record create earlier.
- Within the Body place cursor at the end of the HTML field
- Click “Insert Signature” button and confirm the signee by clicking OK.
Click Publish (very important, unpublished document template will not generate tasks)
Step 2: Configuring the HR Template
- Navigate to HR Administration > HR Service > HR Templates (table sn_hr_core_ sn_hr_core_template)
- Create a New Record
- Complete the record
- Name
- Table: target table for Service, we will use “HR Talent Management Case” in this example
- Template:
- Document Template is <template created in step 1>
- Other fields can be included in the template such as priority and short description.
- Setting state to Ready/Work In Progress in Template will allow for immediately generate document task when HR case is created.
- Submit Record
Step 3: Configuring the HR Service
- Navigate to HR Administration > HR Service > HR Service Configuration (table sn_hr_core_service)
- Create a new or locate an existing HR service
- HR service name:
- Fulfillment type: Manual
- Topic detail: Ensure selection reference same table as in HR template above
- Template: Reference Template above
- Case options: Automatically Initiate Document Tasks **Only if you want tasks generated automatically
- Opened for/Approver view: Default for opened for/approver
- Subject person/Task assignee view: Default for subject person/task assigned to
- Service table fields: Document template (selected)
- Save record ensuring active is checked.
Validation
- Create a new HR Case with the appropriate HR Service
- Navigate to the case record
- Move the state to Ready or Work In Progress
- Notice the document task created in the related list.
Impersonate the user to sign the document to complete the document task
Congratulations you now have a signable document!
- 1,603 Views
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
