---
title: "Replacement Variables Table"
canonical: "https://help.agiloft.com/space/SD/44434044/Replacement+Variables+Table"
format: markdown
---
The Replacement Variables table stores variable chains used to pull in values from linked field relationships. Replacement variables are often used in template records, such as in [Approval Templates](https://agiloft-public.atlassian.net/wiki/spaces/SD/pages/44434249), to dynamically assign values when a record is generated from a template. Out-of-the-box, they are also used to store variables for Obligations and Tasks.

# Example Use Case

To create a Replacement Variable that will be used in Approvals, set Used In Field to the value Approval Assigned To. The value in the List Value field appears in the Assign To drop-down list in an Approval Template. Next, create a variable chain from the Approvals table to the appropriate field variable. For example, `$contact_id.requester_name` finds the name of the Requester in the linked Contract record, while `$contract_id.requester_id.manager_name` finds the Requester's manager.

> ⚠️ The Variable should be a variable chain that starts from the Approval record, not from the Approval Template!
> ⚠️ 
> ⚠️ The values "Task Assigned To" and "Other" do not link to any automation in the default setup, but they can be deployed and used with minor modifications to Task Templates or other template table.

To use a Replacement Variable in an Approval Template, you can create an Approval Template and set Assign Approval Based On to the value Person from Contract. Users can then select a value for the Assign To dropdown, which contains a link to all Replacement Variable records for which Used in Field is Approval Assigned To.