Template Filter Rules
Users generate contract documents and supporting documents during the contract management life cycle. While generating a contract document or supporting documents, the application displays a list of templates the user can select. The list of templates displayed depends on the configuration of the template filter rule.
Using template filtering rules, you can set up user-defined filters to narrow the list of templates that are displayed for tasks that involve generating contract documents or supporting documents. Administrators set conditions that determine which templates are displayed during contract document and supporting document generation.
The template filter rule looks for a match between fields on the contract and template records. For example, for contract templates created for multiple languages, you should only be able to select templates for the language to which they belong. The template filter uses contract fields and related child object fields to select the templates to display.
You can configure template filter rules on the template selection page to narrow down the list of templates available to users for generating documents and performing related tasks. These rules can include contract fields and fields from related child objects to refine the template selection process.
The template selection page for the contract generation displays only the templates that apply to the contract. For example: For the contracts of Type Other, show the templates that are defined for a region.
This section describes how to create, edit, clone, and delete a template filter rule.
Creating a Template Filter Rule
Cloning a Template Filter Rule
You can clone a template filter rule from a list of template filter rules.
Editing a Template Filter Rule
- Click the Template Filter Rule link to open the template filter rule details.
- Edit the details and click Save.
Deleting a Template Filter Rule
You can delete a template filter rule from a list of template filter rules.
Use Case 1: Creating a Template Filter Rule
This use case describes filtering templates to generate contract documents or supporting documents using template filter rules. For example, if templates are created for multiple languages, a user might see and pick only language-appropriate templates.
Let us consider that the contract record contains a Language field with the possible values of English or Spanish and the template record contains a similar Language field. By matching the Language field values in the contract and template records, the template filter rule presents the appropriate template for document generation.
- Go to the Template Filter Rules tab.
- The template filter rule has two related lists, Qualifiers and Filters.
- Add a new qualifier and provide the following information.
- Field: Select the field to be used for the template filter rule. For example, Language.
- Operator: The operator defines the relationship between the field and the value. The list of available operators varies depending on the data type of the chosen field. For example, Equals.
- Value: The type of value field depends on the field selected. For example, Spanish.
- Add a new filter and provide the following information.
- Field: Select the field to be used for the template filter rule. For example, Language.
- Operator: The operator defines the relationship between the field and the value. The list of available operators varies depending on the data type of the chosen field. For example, Equals.
- Value: The type of value field depends on the field selected. For example, Spanish.
- Generate a contract document.
Use Case 2: Creating a Template Filter Rule
- Go to the Template Filter Rules tab.
- The template filter rule has two related lists, Qualifiers and Filters.
- Add a new qualifier and provide the following information.
- Field: Select the field to be used for the template filter rule. For example, Status.
- Operator: The operator defines the relationship between the field and the value. The list of available operators varies depending on the data type of the chosen field. For example, Equals.
- Value: The type of value field depends on the field selected. For example, In Amendment.
- Add a new filter and provide the following information.
- Field: Select the field to be used for the template filter rule. For example, Keywords.
- Operator: The operator defines the relationship between the field and the value. The list of available operators varies depending on the data type of the chosen field. For example, Contains.
- Value: The type of value field depends on the field selected. For example, In Amendment.
- Generate a contract that is in the "In Amendment" status.
For more information on configuring a template filter rule, see Setting Up Template Filter Rules.