---
schema_version: "1"
id: ed294bc9835d20a0d95e1a5a211290876359347588480ba1584aa8ef0810a308
title: Create the Custom Context Definition
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ind/264-0-0/comms_create_the_custom_context_definition.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.comms_create_the_custom_context_definition.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: c48a8c70f8fee399e48a852090b7e509a805d60b1564f210e75719f52e11aec5
description: To support order fulfillment, DRO uses permissions linked to context definitions. To accommodate specific business logic, you can create a custom context definition by extending the standard Sales Transaction Context Definition.
products:
  - Communications
  - Media
  - Energy and Utilities
release: "264"
---
# Create the Custom Context Definition

To support order fulfillment, DRO uses permissions linked to context definitions. To accommodate specific business logic, you can create a custom context definition by extending the standard Sales Transaction Context Definition.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col style="width:100%"></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Enterprise</strong>, <strong>Unlimited</strong>, and <strong>Developer</strong> Edition.</td></tr></tbody></table>

- **[Run the Context Definition Job](https://help.salesforce.com/s/articleView?id=ind.comms_running_the_context_definition_job.htm&release=264.0.0&type=5)**  
    A one-time job within Industries CPQ extends the standard sales transaction context to create a custom context definition specifically for DRO.
- **[Extend Existing Context Definitions](https://help.salesforce.com/s/articleView?id=ind.comms_extend_existing_context_definitions.htm&release=264.0.0&type=5)**  
    You can add new mappings or include extra fields in existing ones. Make sure that no new attribute or mapping begins with the CME prefix. Include more parameters, which can create more granular decomposition and orchestration rules.
- **[Generate the Rule Library for DRO Integration](https://help.salesforce.com/s/articleView?id=ind.comms_generating_the_rule_library_for_dro_integration.htm&release=264.0.0&type=5)**  
    The Rule Library provides the execution framework for DRO. By linking fulfillment conditions to a specific Usage Type, you make sure that the system correctly evaluates both standard and custom Sales Transactions.