---
schema_version: "1"
id: 4eb1c7d9ac82fca4b602955ceb9ec9a0ed258aa62f9e949738e68881513502ad
title: Create Custom Context Definitions for Order Orchestration
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ind/264-0-0/dro_steps_to_create_a_custom_context_definition.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.dro_steps_to_create_a_custom_context_definition.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: a571301e81c05a33bca87ce0d9cfba00168c64855972dbefa08e5525bbc34a68
description: During the fulfillment of orders, Dynamic Revenue Orchestrator (DRO) sometimes uses the permissions associated with context definitions. Add a custom context definition by extending the Sales Transaction Context Definition.
products:
  - Revenue Cloud
release: "264"
---
# Create Custom Context Definitions for Order Orchestration

During the fulfillment of orders, Dynamic Revenue Orchestrator (DRO) sometimes uses the permissions associated with context definitions. Add a custom context definition by extending the 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: <strong>Enterprise</strong>, <strong>Unlimited</strong>, and <strong>Developer</strong> Editions</td></tr></tbody></table>

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ind-revenue-264-0-0-production-enus/91ca99c6-d5c8-4986-b961-c6b7801e0d0d/images/icon_note.png)

Note If you aren't familiar with Context Service and working with Context Definitions, learn [Context Service Basics](https://trailhead.salesforce.com/content/learn/modules/context-service-basics) at Trailhead.

Create a custom context definition by choosing nodes, defining their relationship, and adding attributes. These custom definitions are available on the Custom Definitions tab. Create custom definitions by using the Extend action.

- **[Enable Permission for Context Service Users](https://help.salesforce.com/s/articleView?id=ind.dro_enable_permission_for_users.htm&release=264.0.0&type=5)**  
    Create and manage context definitions easily and efficiently by assigning permission set licenses to your users. Add permissions to specific user personas to complete the work assigned to their role. System admin users have default access to Context Service without requiring any specific permission set licenses.
- **[Create Custom Context Definition and Map Attribute to Field](https://help.salesforce.com/s/articleView?id=ind.dro_create_custom_context_definition_and_map_attribute_to_field.htm&release=264.0.0&type=5)**  
    Extend a standard definition that you want to inherit all the standard components such as nodes, attributes, and mappings. Then customize the extended definition based on your requirements by adding components to it.
- **[Map Custom Context Definition with Sales Transaction](https://help.salesforce.com/s/articleView?id=ind.dro_associate_custom_context_definition_with_sales_transaction_attribute.htm&release=264.0.0&type=5)**  
    To start using a context definition, you must associate the context definition's newly created attribute with the context field in the sales transaction node.