- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
Document blocks
Employee onboarding can get complex. With the multi-departmental processes come several documents that get generated, some of which need to be signed by the employee and/or their manager and filed away for auditing purposes.
This carries forward during the tenure of an employee, as it’s common for more documents to get generated as part of new transitions like relocations or offboarding.
In many scenarios, there are specific additions or deletions to a given document based on employee attributes like location (e.g. US vs. EMEA) and nature of employment (e.g. full-time vs. contractual). Maintaining all the required versions of the documents can become extremely cumbersome and manual.
How can companies minimize the manual effort required to create and maintain this ever-evolving set of documents?
The Document template blocks feature (released in Rome) significantly reduces the maintenance effort by enabling conditional paragraphs / content in a document. If you’re familiar with the concept of Knowledge Blocks, it works in a similar manner but for documents. If you want to maintain one Employment verification letter with standard text but have slight variations for locations and employee classifications, you can set up conditions to control which paragraphs or “blocks” would appear in the document. The employee then sees a document with the clauses and paragraphs that are applicable to them.
Using Document blocks
Document template blocks is available with Document templates plugin – HR standard (com.snc.document_templates).
From the navigation menu, Document template blocks navigates you through the steps to create the conditional blocks in a template. A block can have a set of content or paragraphs each associated with its own condition. For example, “Compensation clauses” can be a block encompassing all possible variations of content related to compensation details based on specific conditions. The table mapped to a block decides what variables you can build these conditions on. Only the blocks mapped to the same table as the template can be used.
Creating conditional block content
Once a block has been created, move on to create content corresponding to a condition. The order of the block defines which content will be picked up and shown if there are multiple conditions (and hence content blocks) evaluating to true. There is no limit on how complex the condition can be. The corresponding content can be authored in HTML allowing for rich-text. Variables can also be added by clicking on ‘Fields’ token picker on the right.
For example: Below is a block with content which needs to appear only when the employee is FTE, so the condition is on the Employment type.
Similarly, below is content created specific to contractual employees:
When you create an HTML template, you will see a new “Add Blocks” action to be able to add conditional content.
You can search for blocks by name and description and add to the template
Any number of blocks can be added within a template. However, conditions get evaluated on run time of a document, and there may be an impact on the loading time if there are too many conditional blocks.
Previewing a template
You can ‘Preview’ the document in the context of a record (from the table mapped, to show the variable values). For example, an Employment verification letter can be viewed for an Employment verification letter request. Clicking on “Preview as PDF” gives the PDF view of the template with the blocks used.
Using a template in an HR service
A document template can be linked with an HR service for workflows where a document needs to be signed or generated, like when an employee requests an employment verification letter service. The agent can generate, sign, and email the standard letter to the employee.
Find the different methods of associating a document template to an HR service here and here.
Document editing by an agent working on a case
An agent can edit the document using the “Preview” option. This is useful when specific content needs to be added on a case-by-case basis even when using a template with standard text.
The ‘Preview’ opens the document instance in a HTML view and on clicking ‘Edit’ within this preview, the agent can see which blocks were used and delete those blocks if necessary.
Additional content can also be added to this document instance by the agent.
Any changes made by the agent are only applicable to this instance of the document and do not result in any changes to the template itself.
Frequently Asked Questions
Q: Can an agent edit the block content in the editing view?
A: No, an agent can only delete the block completely in the edit mode. If they want to modify the content, they can first copy the text and then open the edit view and paste the content to modify it.
Q: How many conditions can be mapped to a block content?
A: There is no limit on the number of conditions that can be mapped.
Q: When can an agent edit a document during a case workflow?
A: When the case option “Auto initiate doc tasks” is not enabled while linking a document template to an HR service, the preview shows the edit option for the agent working on an HR case of that service. If this case option is enabled, the document is automatically assigned for signature tasks and hence no editing can be done by the agents.
Resources
Product Documentation: Document templates plugin – HR standard (Rome)
Document blocks
- 3,776 Views
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.