---
title: "Task Templates Table"
canonical: "https://help.agiloft.com/space/SDA2512/218109826/Task+Templates+Table"
format: markdown
---
The Task Templates table stores records that serve as templates for generating [Tasks](https://agiloft-public.atlassian.net/wiki/spaces/SDA2512/pages/218107168). In the out-of-the-box system, Contracts and Projects are configured to use Task Templates. Task Template records define when to trigger the task, who's assigned to complete it, the due date, and whether there are prerequisite tasks.

# Use Case

Out-of-the-box, Task Templates are used in predefined [Task Workflows](https://agiloft-public.atlassian.net/wiki/spaces/SDA2512/pages/218110043) configured for [Contract Types](https://agiloft-public.atlassian.net/wiki/spaces/SDA2512/pages/218109121) and [Project Types](https://agiloft-public.atlassian.net/wiki/spaces/SDA2512/pages/218112609). You can also create templates that are independent of workflows if you want to present users with a list of tasks to choose from when they create contracts and projects. 

By default, members of the admin, Admin Import, Business Admin, and Contract Admin groups can create and edit Task Templates. You can create Task Template records the following ways:

- From the All Task Templates related table in Task Workflow records. This option automatically links the template to the workflow.
- From Contract Type and Project Type records when the Task Generation Method is User Selected Tasks. This option presents users with a checklist of tasks to select from when creating contracts and projects.
- By cloning a Task Workflow. All templates in the workflow are also cloned.
- By clicking New in the Task Templates table action bar.

Each Task Template record defines which process table the template relates to, whether it belongs to a workflow, when to assign the task, and whether there are prerequisites.

When you create a template, select which table can use the template in the Related To field and give the template a title. Do not use commas in the Title field. In the Sequence field, specify a number that roughly orders the template in relation to the other tasks in the workflow.

![Task Template record created from a Task Workflow](media://16d29c39-04be-40ff-b166-230d601b3c8d)

## Template Details

The list below describes the fields on the Template Details tab.

- The Task Type field defines the type or goal of the task. If the type is Notification or Obligation, additional fields are displayed.
  - When Notification, Auto-Complete is set to Yes and Email Subject and Body fields are displayed so you can write the email to send as the notification.
  - When Obligation, the Obligation Source, Responsible Party, and Obligation Type fields become available.
- Task Usage controls when to include this template when Tasks are generated. Default and Conditional tasks are created with a Queued status when tasks are launched. Default tasks are set to Assigned immediately when the Assignment Trigger is met. Conditional tasks are evaluated when the Assignment Trigger is met. If the condition is false, the task is set to Not Needed. For Conditional Tasks, the condition should be defined using the variables from the Tasks table since the evaluation takes place there. Optional is for tasks that are not included in a workflow.
- The Assign Task Based On field defines how to determine the assignees for tasks created from this template.

### Assignment Trigger

The Assignment Trigger defines when a task's status changes from Queued to Assigned. The list below describes the options.

- **Date**: Only available for Contracts. Select this option when you want to assign the task on a fixed date or a date relative to a date from the Contract record.
- **Status**: Only available for Contracts. Select this option when you want to assign the task when a contract reaches a certain Status.
- **Creation / No Open Prerequisites**: Select this option when you want to assign the task as soon as it's created, as long as any configured conditions are met and there aren't prerequisite tasks.

### Task Recurrence

The Task Recurrence settings allow you to configure tasks to recur automatically at selected intervals. Setting Recurring Task to Yes displays the following fields:

- **Default Number of Occurrences**: If you know how many times the task will recur, you can specify the number in this field. For example, if the contract term is 5 years and you set up an annual task, you know the task will occur 5 times.
- **Recur Every**: The number of days, weeks, months, or years to recur. The unit of time is selected in the Recurrence Unit field.
- **Recurrence Unit**: The unit of time for the Recur Every value.

### Prerequisite Tasks

If the Task Template is associated with a Task Workflow that enables prerequisite tasks, and the Assignment Trigger for the template is Creation / No Open Prerequisites, the Prerequisite Tasks section is displayed so you can add or remove prerequisite tasks:

- **Choose a Task to Add**: If you want to add a task from the same workflow as a prerequisite, select the task in this field and click Add Task To Prerequisites.
- **Prerequisite Task to Remove**: If you want to remove a task as a prerequisite, select the task in this field and click Remove Task From Prerequisites.

### Task Steps

The Task Steps section includes the option to add subtasks or [Task Steps](https://agiloft-public.atlassian.net/wiki/spaces/SDA2512/pages/218113480) to the template. Using a task checklist is a good way to provide a list of steps to follow within a task. Setting Use Task Checklist to Yes displays the following fields:

![Task Steps section with Create New Step selected](media://d9e90651-eb8d-4c08-a179-7a90864dcea7)

- **Create Task Step**: Select this checkbox to create a new step.
- **Task Step Name**: Specifies the name of the new step.
- **Task Step Number**: Defines the order of the new step in the sequence.

After supplying the step name and number, click the Create Task Step button to generate the Task Step record.

## Related Information

If Task Generated from a Workflow is Yes, the Related Information tab is displayed. The tab includes a link to the workflow the template is in and lists any dependent templates.

![Related Information tab](media://2910634d-b5ad-4612-856c-5ae218cbd9a2)

# Views

The Default View for the out-of-the-box Task Templates table shows the Edit icon, ID, Task Title, Task Type, Related To, and Assign Task Based On fields.

![Default View for the Task Templates table](media://baa1429c-aa40-494e-b0ed-e6c7d333af6b)

In addition to Default View and other [standard views](https://agiloft-public.atlassian.net/wiki/spaces/HELP/pages/43718574), the table includes views for displaying task template data in other records:

- **View in Contract Type**: Default view for the Task Templates related table in Contract Type records.
- **View in Workflows**: Default view for the Task Templates related table in Task Workflow records.
- **View of Obligation in Contract Type**: Default view for the Obligations related table in Contract Type records.

# Saved Searches

The out-of-the-box Task Templates table includes several saved searches that are used by rules. The following saved searches are available in the navigation menu by default:

- **Obligation Templates**: Finds all templates where the Task Type is Obligation.
- **Recurring Task Templates**: Finds all templates where Recurring Task is Yes.

# Fields

In addition to the [standard fields](https://agiloft-public.atlassian.net/wiki/spaces/SDA2512/pages/218104402/Table+Concepts#standard_fields), the out-of-the-box Task Templates table includes the following fields.

| **Field Label** | **Data Type** | **Description** |
| --- | --- | --- |
| All Project IDs converted | Link to single field from other table: Projects | Lists the Projects this template is linked to. |
| Assign Task Based On | Choice:<br>- Assigned Team / Person
- Person from Project
- Team from Contract
- Person from Contract | Defines how to determine the assignees for any tasks created from this template.<br>- Assigned Team / Person is available when Related To is Contracts or Project. When this option is selected, the Assigned Team and Assigned Person fields are displayed. You must choose an Assigned Team, but Assigned Person is optional.
- Person from Project is available when Related To is Project. When chosen, select the role to assign the task to in the Assign To field.
- Team from Contract is available when Related To is Contracts. When chosen, select the team to assign the task to in the Assign To field.
- Person from Contract is available when Related To is Contracts. When chosen, select the role to assign the task to in the Assign To field. |
| Assign To  
Assign To Variable  
Assign To Variable ID | Link to selected fields from other table: Replacement Variables | When Assigned Task Based On is Person from Contract or Person from Project, the Assign To field specifies the role to assign the task to. The options for Assign To are created and edited in the Replacement Variables table. |
| Assign When Contract Changes Status to | Choice:<br>- Draft
- Pending Review
- With Counterparty
- Pending Approval
- Approved
- Pending Signature
- Signed
- Active
- Renewed
- Expired
- Canceled
- Terminated | When Related To is Contracts and Assignment Trigger is Status, this field specifies which Contract Status triggers the assignment of the task. |
| Assigned Person | Link to single field from other table: People | When Assign Task Based On is Assigned Team / Person, this field specifies the person to assign the task to. It's filtered to show people on the team selected in the Assigned Team field. |
| Assigned Team | Link to selected fields from other table: Teams | When Assign Task Based On is Assigned Team / Person, this field is required and specifies the team to assign the task to. |
| Assignment Trigger | Choice:<br>- Date
- Status
- Creation / No Open Prerequisites | Required field that defines how to trigger the assignment of tasks generated from this template.<br>- Date is only available for Contracts. When selected, you set a specific trigger date or a date that is relative to a date from the Contract record.
- Status is only available for Contracts. When selected, you choose which contract status should trigger the assignment.
- Creation / No Open Prerequisites is available for Contracts and Projects. When selected, the task is assigned when it's created, as long as any configured conditions are met and there aren't prerequisite tasks. |
| Attached Files | File with Versioning | Stores any supporting documents for tasks generated from this template. This field does not support file versioning or OCR. |
| Auto-Complete? | Choice:<br>- Yes
- No | Indicates whether to mark the task complete as soon as it's assigned. This option is useful when the Task Type is Notification. That way the task is automatically set to Completed/Approved when the notification goes out. |
| Before or After Contract Date | Choice:<br>- Before
- After | When Assignment Trigger is Date and Date Assignment Type is Relative, this field defines whether to trigger the task before or after the chosen Date from Contract. |
| Button: Add Task to Prerequisites | Action button | If the workflow enables prerequisite tasks (Workflow Enable Prerequisite Tasks is Yes), this button can be used to add as a prerequisite the template selected in the Choose a Task to Add field. |
| Button: Create Task Step | Action button | When Use Task Checklist is Yes, this button can be used to create a new Task Step record with the specified Task Step Name and Task Step Number. |
| Button: Remove | Action button | Created for use in a non-default action bar. Can be used to set the template Status to Inactive. |
| Button: Remove Task from Prerequisites | Action button | If the workflow enables prerequisite tasks (Workflow Enable Prerequisite Tasks is Yes), this button can be used to remove as a prerequisite the template selected in the Prerequisite Task to Remove field. |
| Condition | Variable Formula | The formula to evaluate when Task Usage is Conditional. Define the condition using variables from the Tasks table since the evaluation takes place there. |
| Condition Description | Text | A description of the Condition. |
| Condition Value | Short Text | Stores the result of the Condition evaluation. |
| Create New Checklist Item? | Multi-Choice: Single Creation Choice | Unused field replaced by Create Task Step. |
| Create Task Step | Choice:<br>- True
- False | When Use Task Checklist is Yes, setting this field to True makes other fields available for creating a new Task Step. |
| Created for Use in | Choice:<br>- User Selected Tasks
- Task Workflow
- Single Task Template for Change Request | System-managed field that indicates how the template was created and its purpose. |
| Date Assignment Type | Choice:<br>- Fixed
- Relative | When Assignment Trigger is Date, this field defines how the trigger date is determined.<br>- When Fixed, set a specific trigger date in the Date to be Assigned field. Choosing a fixed date may require you to update the task template in the future.
- When Relative, additional options are displayed for configuring the trigger date relative to a date from the Contract record. |
| Date Field RV ID  
Contract Date Field for Assignment  
Date Variable | Link to selected fields from other table: Replacement Variables | When Assignment Trigger is Date and Date Assignment Type is Relative, these fields define which date from the Contract to use for calculating the trigger date. |
| Date to be Assigned | Date | When Date Assignment Type is Fixed, this field defines the trigger date for tasks created from this template. |
| Default for Clause Type(s) | Related Table: Clause Types | When Task Type is Obligation, this field lists the clause types that include this template. |
| Default Number of Occurrences | Integer | When Recurring Task is Yes, this field lists the number of times this template recurs. |
| Dependent Task Templates | Related Table: Task Templates | Lists any dependent task templates. |
| Description | Text | A description of the template. |
| Diagram | Relationship Diagram Field | Shows a diagram of the task templates related to the current one. |
| Flag to convert to cloned template | Choice:<br>- Yes
- No | System-managed flag that is set to Yes when task templates are cloned because a workflow is cloned. |
| Flag to create Task for Project | Choice:<br>- Yes
- No | System-managed flag that is set to Yes when a task for a Project is generated from this template. |
| Flag to Recheck Task | Choice:<br>- Yes
- No | System-managed flag that gets set if the Recheck Conditions action is run from another record. |
| Highest Step Task Template ID  
Highest Prerequisite Step Number | Link to selected fields from other table: Task Templates | System-managed fields used for task sequencing. |
| Include Obligation Management  
Obligation Function ID | Link to selected fields from other table: Functions | System-managed flag that indicates whether the Obligation Management function is enabled. |
| Latest Cloned Workflow ID | Link to selected fields from other table: Task Workflows | When cloning a workflow that includes this template, the system sets this value for mapping to the new task templates. |
| Latest Contract Clause Current Text  
Latest Contract Clause ID | Link to selected fields from other table: Contract Clauses | System-managed fields that store the current clause text when generating a Task for a clause-based obligation. The text field is mapped to the Obligation Clause Text field in the conversion mapping. |
| Latest Contract ID | Link to selected fields from other table: Contracts | System-managed field used for generating Task records. It's used to link to the Contract when evaluating conditions. |
| Latest Contract Type ID | Link to selected fields from other table: Contract Types | System-managed field used for generating Task records. It's used to link to the Contract Type when evaluating conditions. |
| Latest Project ID  
Latest Project Manager  
Latest Project Status | Link to selected fields from other table: Projects | System-managed fields used for generating Task records. They link to the Project when evaluating conditions. |
| Latest Task ID | Link to selected fields from other table: Tasks | System-managed field mapped from completed tasks when updating the next templates in the sequence. |
| Notification Email Body | Text | If Task Type is Notification, this field stores the body of the notification email. |
| Notification Email Subject | Text | If Task Type is Notification, this field stores the subject line of the email. |
| Notify Contract Manager on Completion? | Choice:<br>- Yes
- No | When Related To is Contracts, this field specifies whether to notify the Contract Manager when the task is completed. Defaults to No. |
| Notify for Auto-Completion? | Choice:<br>- Yes
- No | This field is not included in the layout by default. |
| Number of Active Steps | Calculation on Multiple Linked Records: Task Steps | If the template has Task Steps, this field lists the number of active steps. |
| Number of Days before or after Contract Date Field | Integer | If Assignment Trigger is Date and Date Assignment Type is Relative, this field defines the number of days before or after the Date from Contract to trigger the task. |
| Number of Working Hours to Due Date | Floating Point | The number of working hours the assignee has to complete the task once it's assigned. The due date is set based on this value. |
| Obligation Source | Choice:<br>- Contract Type
- Contract Clause
- Ad Hoc | If the Task Type is Obligation, this field defines the source of the obligation.<br>- Contract Type means this obligation relates to the type of contract.
- Contract Clause means this obligation relates to the presence of certain clauses in the contract document.
- Ad Hoc means this obligation was generated on the fly. |
| Obligation Type | Choice:<br>- Audit
- Delivery
- Document
- Hold Private
- Notification
- Payment
- Report
- Other | If the Task Type is Obligation, this field defines which type of obligation the template represents. |
| Owned By | Link to single field from other table: People | Lists the creator of the task template. |
| Prerequisite Task Template IDs | Link to single field from other table: Task Templates | Lists the IDs of any prerequisite task templates. |
| Prerequisite Task to add ID  
Prerequisite Task to add ID and Title  
Choose a Task to Add | Link to selected fields from other table: Task Templates | These fields aren't included in the layout by default. Instead, use the Add Task to Prerequisite button to add the task template as a prerequisite. |
| Prerequisite Tasks | Link to selected fields from other table: Task Templates | If the workflow enables prerequisite tasks, this table lists the prerequisite templates. |
| Prerequisite Template ID to Remove  
Prerequisite Task to Remove | Link to selected fields from other table: Task Templates | These fields can be used to remove a task template from the list of prerequisite tasks. |
| Project Type ID  
Project Task Generation Method  
Project Type | Link to selected fields from other table: Project Types | When the Task Generation Method is User Selected Tasks, these fields link to the Project Type record. |
| Project Types Using This Task Template | Related Table: Project Types | Lists the Project Types that use this template. |
| Recur Every | Integer | When Recurring Task is Yes, this field specifies the number of days, weeks, months, or years to recur. The unit of time is selected in the Recurrence Unit field. |
| Recurrence Unit | Choice:<br>- Days
- Weeks
- Months
- Years | When Recurring Task is Yes, this field specifies the unit of time used to calculate when the task recurs. |
| Recurring Task | Choice:<br>- Yes
- No | Indicates whether the template is a recurring task. |
| Recurring Task Type for Conversion | Choice:<br>- Parent
- Child | System-managed field that specifies whether the recurring task is a parent or child task. |
| Related To | Choice:<br>- Project
- Contracts
- Contract Requests
- Opportunity
- Contact
- Sourcing Events
- Supplier Profile | Defines which process table can use this template for generating tasks. |
| Responsible Party | Choice:<br>- Customer
- Internal
- Customer and Internal
- Partner
- External | When Task Type is Obligation, this field lists the party responsible for the task. |
| Send Overdue Reminder Every X Days | Integer | The number of days past the due date to remind the assignee to complete the task. |
| Sequence | Floating Point | Defines the approximate order of this template in the workflow. The sequence gives a general idea of the template order but isn't definitive and doesn't control any of the processing. You can enter a decimal value to insert the template between two existing steps without having to renumber the templates. Defaults to 1. |
| Source Task Template ID for Cloned  
Source Template Prerequisite Task Template IDs | Link to selected fields from other table: Task Templates | For cloned templates, these fields identify the template that was cloned. |
| Task Generated from a Workflow? | Choice:<br>- Yes
- No | System-managed flag that indicates whether this template was created from a Template Workflow record. |
| Task Generation Type | Choice:<br>- Predefined Task Workflow
- User Selected Tasks
- User Generated Ad Hoc Tasks | Defines how Tasks are generated from this template. Typically mapped from the source record from which the template is created. |
| Task Source for Conversion | Choice:<br>- Task Template
- User Created | System-managed field used in the conversion to a Task. |
| Task Step Name | Short Text | When Create Task Step is True, this field specifies the name of the new Task Step. |
| Task Step Number | Floating Point | When Create Task Step is True, this field specifies the Step Number for the new Task Step. |
| Task Steps | Related Table: Task Steps | When Use Task Checklist is Yes, this table displays any existing Task Steps as well as the option to create a step. |
| Task Template ID and Title | Compound | System-managed field used to match prerequisite templates. |
| Task Title | Short Text | Required field that specifies the name of the task. Do not include commas. |
| Task Type | Choice:<br>- Task
- Approval
- Milestone
- Obligation
- Notification | Specifies the type of task this template represents and controls the visibility of other fields on the screen. |
| Task Usage | Choice:<br>- Default
- Conditional
- Optional | Controls when to include this template when Tasks are generated. When Task Generated from a Workflow is Yes, Default and Conditional are available. Optional is available and the only possible choice when Task Generated from a Workflow is No.<br>- When Default, this task template is always generated. This is the default value.
- When Conditional, this task template is generated only when the specified condition is met.
- When Optional, users have the option to generate a task from this template, but it's not required. |
| Template Status | Choice:<br>- Active
- Inactive | The status of the template.<br>- When Active, the template is available for use. This is the default value.
- When Inactive, the template is not available for use. |
| Trigger Condition | Choice:<br>- When all tasks are completed
- When any task is completed | If the workflow enables prerequisite tasks (Workflow Enable Prerequisite Tasks is Yes), this field controls whether all of the prerequisite tasks must be completed before this task template can be triggered.<br>- When set to When all tasks are completed, all prerequisite tasks must be completed before this task is triggered. This is the default value.
- When set to When any task is completed, this task can be triggered if at least one prerequisite task is completed. |
| Use Task Checklist | Choice:<br>- Yes
- No | Indicates whether this template includes Task Steps.<br>- When Yes, the Task Steps related table is displayed and the option to create a new Task Step is available.
- When No, fields related to Task Steps are not displayed. |
| User Selectable for Contract Types | Link to single field from other table: Contract Types | When Related To is Contracts, this field specifies the types of contracts that can use this task template. |
| Workflow Enable Prerequisite Tasks  
Task Workflow ID  
Workflow Related To  
Task Workflow Title | Link to selected fields from other table: Task Workflows | If Task Generation Type is Predefined Task Workflow, these fields identify the workflow the template is in. |

# Automation

This section describes the rules that are implemented for the out-of-the-box Task Templates table. For details about rule configuration options, see [Rules](https://agiloft-public.atlassian.net/wiki/spaces/HELP/pages/43714473) in the Help Guide.

- **Create: All Creation Actions (web, API)**: This rule runs when a Task Template record is created and performs the following actions:
  - If records were created by cloning, it creates the cloned versions and sets any prerequisite tasks for the cloned templates as needed.
  - If related to Contracts, it unlinks any unnecessary prerequisite tasks based on the Assignment Trigger.
- **Create/Edit: Set Sequence based on prerequisite (web, API)**: This rule runs when a record is created or edited. It adjusts the sequence of task templates in the same workflow as needed.
- **Edit: Other edit actions - unlink inactive task template, handle cloned templates (web, API)**: This rule runs when a record is edited and performs the following actions:
  - If the Status was changed to Inactive, it unlinks the template from any workflows or other dependencies.
  - If a template was cloned, it creates the cloned version.
  - If related to Contracts, it unlinks any unnecessary prerequisite tasks based on the Assignment Trigger.
- **Create/Edit: - check for comma in task title and warn (web)**: This rule runs when a record is created or edited. It removes any commas from the Task Title and informs the user if they were removed.

# Ownership

Task Template records are owned by the user who creates them. Specifically, Creator Login is set to the Login of the user who creates the record. For more information on record ownership, see [Record Ownership](https://agiloft-public.atlassian.net/wiki/spaces/HELP/pages/43718158) in the Help Guide.