Map a custom context variable to a transaction entity
task brazil Updated Sep 10, 2026 1 min read som-map-variable.md
Associate a custom pricing context variable to a particular transaction entity type in Sales Customer Relationship Management.
Before you begin
Verify that you're in the appropriate application scope for the transaction type. For example, if you're mapping a context variable for orders, the application scope is Order Management. Use the Globe [Omitted image "globe-outline-24.svg"] Alt text: icon in the navigation bar to change the application scope.
Role required: admin
Procedure
-
In the CRM Workspace, select the List [Omitted image "list-outline-24.svg"] Alt text: view.
-
Navigate to Context Rule Management > Variable Mappings.
-
Select New.
-
In the form, fill in the fields.
Field Description Entity The Sales Customer Relationship Management entity for which the variable will be used. Select the entity, for example Opportunity or Order. Table Name of the application table for the transaction. Field Field from the application table that is related to the custom context variable. Select the field. Key Custom context variable. Select the variable from the list of pricing context variables. Advanced -
Select Save.
Result
The custom context variable is available for use in pricing matrices.
48 lines · 1.9 KB
---
title: Map a custom context variable to a transaction entity
description: Associate a custom pricing context variable to a particular transaction entity type in Sales Customer Relationship Management.
locale: en-US
canonical_url: https://www.servicenow.com/docs/r/order-management/som-map-variable.html
release: brazil
topic_type: task
last_updated: "2026-09-10"
reading_time_minutes: 1
breadcrumb: [Product pricing, Configure, price, quote apps, Configure, Sales Customer Relationship Management]
---
# Map a custom context variable to a transaction entity
Associate a custom pricing context variable to a particular transaction entity type in Sales Customer Relationship Management.
## Before you begin
Verify that you're in the appropriate application scope for the transaction type. For example, if you're mapping a context variable for orders, the application scope is Order Management. Use the Globe \[Omitted image "globe-outline-24.svg"\] Alt text: icon in the navigation bar to change the application scope.
Role required: admin
## Procedure
1. In the CRM Workspace, select the **List** \[Omitted image "list-outline-24.svg"\] Alt text: view.
2. Navigate to **Context Rule Management** > **Variable Mappings**.
3. Select **New**.
4. In the form, fill in the fields.
|Field|Description|
|-----|-----------|
|Entity|The Sales Customer Relationship Management entity for which the variable will be used. Select the entity, for example Opportunity or Order.|
|Table|Name of the application table for the transaction.|
|Field|Field from the application table that is related to the custom context variable. Select the field.|
|Key|Custom context variable. Select the variable from the list of pricing context variables.|
|Advanced| |
5. Select **Save**.
## Result
The custom context variable is available for use in pricing matrices.
| title | Map a custom context variable to a transaction entity |
| description | Associate a custom pricing context variable to a particular transaction entity type in Sales Customer Relationship Management. |
| locale | en-US |
| canonical_url | https://www.servicenow.com/docs/r/order-management/som-map-variable.html |
| release | brazil |
| topic_type | task |
| last_updated | 2026-09-10 |
| reading_time_minutes | 1 |
| breadcrumb | Product pricingConfigurepricequote appsConfigureSales Customer Relationship Management |