The Approval Templates table holds Approval Template records, which can be thought of as steps of an Approval Workflow. Approval Template records predefine the Approval Team and Approvers, and control whether the approval is Conditional or Required. Each Approval Template can only be used by a single Approval Workflow record, so there is a one-to-many relationship between Approval Workflow records and Approval Templates. Approval Template records can only be related to Contract, Sourcing Event, and Change Request records.

Use Case

Approval Templates can be created by users in the Admin, Admin Import, Business Admin, Contract Manager, Change Manager, Internal Supplier Manager, and Service Manager groups. New Approval Template records are normally added from under the All Approval Templates section of an Approval Workflow record. Creating an Approval Template record from the Approval Workflow record is best practice, because it automatically links the Approval Template record to the Approval Workflow record. However, if an Approval Template is created directly from the Approval Template table, a Workflow Title should be manually added in the record layout's common area. The required fields are Approval Title, Assign Approval Based On, and Step Number. Step Number and Approval Title are used when converting the Approval Template record to an Approval record.

Each Approval Template record contains information about the Approval Workflow that uses it, but Approval Template records can consist of different layouts based on what is selected from the following fields:

Approval Usage

Each Approval Template record contains information about the Approval Workflow that uses it, as well as whether the approval is Required or Conditional. You can determine these conditions yourself by selecting Conditional from the Approval Usage drop-down list and then filling in the Condition field using the Formula Help button. Both required and conditional Approval records are automatically generated when the Create Approvals button is clicked in the Contract record, a Sourcing Event is progressed, or the Generate Approvals from Workflow button is clicked in the Change Request record.

When Conditional is selected, the Condition field appears. The user can then input a formula that gets evaluated when an approval is generated. This formula can contain any number of conditions that can be linked together by operators such as "or", "and", "contains", etc. Typically, the Condition field contains a search criterion based on other field value(s) in the Contract or Change Request records. Conditional approvals are only generated if the condition is met.

The Approval Template record below is an example of a conditional Approval Template record that has had the approval condition defined in the Condition field. This example shows that this Approval Template is only generated for a particular Change Request record if the Risk if Done value of the Change Request record is Category 2 - Significant or Medium. The Related Records tab displays all other Approval Template records that are used in the same Approval Workflow.

Approval Type

"Approval" is the standard Approval Type. This provides the approver options to approve, request changes, or reject the contract. "Review" allows the reviewer to provide feedback, but they cannot outright reject the contract. "Notification" informs the selected user via email without requiring any action on their part.

Assign Approval Based On

Approval Templates dictate where Approvals can be assigned to. Approvals can be assigned to either a relevant team from the parent record, a relevant person from the parent record, or a specific team and person. You can determine the type of parent record by checking the Related To field of the Approval Template record.

The selections in the Assign To field are based on records in the Replacement Variables table. Refer to the Replacement Variables Table section for more information.

Step Number

The sequence of Approval Template records depend on the values in the Step Number field. Approvals are generated and ordered based on Step Number, and have their Status changed to Pending Approval in ascending order of Step Number. To set up parallel Approvals, give the same Step Number to each Approval Template that should occur simultaneously. All Approvals with the same Step Number must have a Status of Approved in order to trigger the next step.

Notably, the rule that controls the triggering and ordering of approvals is managed from the Approval record, not the Approval Template record. Fields in the Approval record are used to determine if there are concurrent approvals and to define the relevant approval with the lowest Step Number. Not all sequences begin with a Step Number value of one, such as when the first step is a conditional Approval record marked Not Needed.

Auto-Approve?

Approval Template records can be used as a notification, instead of an approval, by setting the Auto Approve? field to Yes. When the template is converted into an Approval record, a rule in the Approval table automatically sets the approval's Status to Approved. If Notify for Auto-Approval is set to Yes, this rule also sends a custom notification message in place of the assignment notification.

Automation

In the Standard System Demo, the Approval Templates table contains three rules. These rules are accessed by expanding the Approval Templates table in the left pane, selecting Setup Approval Templates, and then selecting the Rules tab:

Ownership

Approval Template records are owned by the user who creates them. Specifically, a record is owned by the user whose Login matches the Creator Login field.