---
schema_version: "1"
id: efd6b1916e30843d40d8ca1c3155f0c00c82ca116889e24073cced9d4a94c1b1
title: Orchestrate Sales Transaction Business Processes
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ind/264-0-0/dro_orchestrate_sales_transaction_business_processes.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.dro_orchestrate_sales_transaction_business_processes.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: cd7ee14ff83e4563827bb7eb44379af2b10244db85ced2170355aef11f6cf6b2
description: Set up a workflow to orchestrate business processes such as Quote to Order, Order to Cash, Incidents, Cases, Service Requests, and custom objects. First, extend the Sales Transaction context definition. Then, clone and save the required mapping, update the mapping to link the Sales Transaction node attributes to your business object's fields, create a procedure plan definition and associate it with the new context definition, and then configure the new context definition for the Sales Transaction Context Definition. Finally, submit the business process for orchestration.
products:
  - Revenue Cloud
release: "264"
---
# Orchestrate Sales Transaction Business Processes

Set up a workflow to orchestrate business processes such as Quote to Order, Order to Cash, Incidents, Cases, Service Requests, and custom objects. First, extend the Sales Transaction context definition. Then, clone and save the required mapping, update the mapping to link the Sales Transaction node attributes to your business object's fields, create a procedure plan definition and associate it with the new context definition, and then configure the new context definition for the Sales Transaction Context Definition. Finally, submit the business process for orchestration.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></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> Editions of <span>Revenue Management</span></td></tr></tbody></table>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:center;vertical-align:top;" id="d77059e73">User Permissions Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d77059e73 ">To orchestrate business processes:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d77059e73 ">
              <p>Fulfillment Designer</p>
              <p>OR</p>
              <p style="margin-bottom:0;">DRO Admin</p>
            </td>

          </tr>
        </tbody>
      </table>

Before you begin, align your business process with the predefined sales transaction context that’s used to map sales transactions to objects such as Quote, Asset, and Order. See [Create Custom Context Definitions for Order Orchestration](https://help.salesforce.com/s/articleView?id=ind.dro_steps_to_create_a_custom_context_definition.htm&release=264.0.0&type=5 "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.").

1. Extend the sales transaction context definition into a new context definition, map your object, to the new context definition, and activate the context definition. On the Context Definition Settings page, configure the activated context definition for the Sales Transaction context definition. See [Create Custom Context Definition and Map Business Objects](https://help.salesforce.com/s/articleView?id=ind.dro_create_custom_context_definition_and_map_business_objects.htm&release=264.0.0&type=5 "Extend a standard context definition where you want to inherit all the standard components such as nodes, attributes, and mappings. Then add components to the extended context definition based on your business requirements.").
    
    This step makes sure that the necessary data is retrieved throughout the various orchestration phases as steps progress.
2. [Create a procedure plan definition for your business process](https://help.salesforce.com/s/articleView?id=ind.dro_configure_procedure_plan_definition_for_business_process_orchestration.htm&release=264.0.0&type=5 "Use the procedure plan definition to determine the correct context definition and mapping, and orchestrate the business process to create a sales transaction fulfillment request.") and associate it with the new context definition.
3. Finally, submit your business process for orchestration. See [Submit Sales Transaction Action](https://developer.salesforce.com/docs/atlas.en-us.revenue_lifecycle_management_dev_guide.meta/revenue_lifecycle_management_dev_guide/actions_obj_submit_sales_transaction.htm).
    
    Use the default StandardOrder adapter for submitting orders and the GenericAdapter for submitting any other business process for orchestration.

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

Example A customer, Jones, places a service request for an electrical meter connection at their office. Here's how Dynamic Revenue Orchestrator (DRO) orchestrates the service request.

Step 1: Create Custom Objects

This step is necessary only if you are orchestrating a custom service request that can’t be processed using the out-of-the-box entities. Delivered objects generally have the capability to perform the necessary orchestration.

To effectively manage and track this custom service request, you must first set up these required custom objects in your Salesforce org.

 
| custom object | custom object Role |
| --- | --- |
| Service Request | Captures the details of the customer's request for an electrical connection and stores information such as customer details, service location, requested service date, and status. |
| Service Request Item | Represents a specific item or component. A single service request can involve multiple items. For an electrical connection, service request items can include digging the service trench, connecting to the power grid, and testing the electrical panel. |
| Service Request Action | Tracks the various actions or tasks that must be completed to orchestrate the service request. Service request actions can include scheduling the site visit, dispatching a technician, installing the meter, and activating the connection. |
| Service Request Item Attribute | Stores additional attributes or details about the items involved in the service request. For example, for a meter installation, attributes can include the meter type, serial number, and voltage rating. |
| Service Request Item Relationship | Captures the relationships between different items or components of the service request. For example, the relationship can link the meter installation task to the specific meter that's installed. |

Step 2: Extend the Sales Transaction Context Definition and Map the Service Request Entity

Next, extend the standard Sales Transaction context definition and name it DROServiceRequest. This extension helps you to include service-specific data in the orchestration process.

Now, map the fields of the Service Request object to the extended DROServiceRequest context definition. This mapping makes sure that the necessary service request data is available during the orchestration process.

You must map attributes such as Customer ID to ServiceRequest field’s CustID and Request Date to ServiceRequest field’s ReqDt.

Step 3: Create a Procedure Plan Definition

In this step, select the Service Request object as the primary object and associate it with the DROServiceRequest context definition. This procedure plan definition identifies the context definition that orchestrates the service request.

Step 4: Submit the Service Request for Orchestration

Finally, submit the service request for orchestration by using the Submit Sales Transaction invocable action. This action triggers the orchestration of the business object.

By processing these steps, DRO makes sure that the decomposition, plan composition, and plan execution occur in the correct sequence, ultimately creating a sales transaction fulfillment request to efficiently manage the electrical connection service. See [Design Your Order Decomposition](https://help.salesforce.com/s/articleView?id=ind.dro_design_time_decomposition.htm&release=264.0.0&type=5 "Define how your commercial products decompose into technical products that your order fulfillment team can deliver to your customers. Products decompose based on rules you define, and the technical products can inherit field and attribute data from related commerical products.").

- **[Create Custom Context Definition and Map Business Objects](https://help.salesforce.com/s/articleView?id=ind.dro_create_custom_context_definition_and_map_business_objects.htm&release=264.0.0&type=5)**  
    Extend a standard context definition where you want to inherit all the standard components such as nodes, attributes, and mappings. Then add components to the extended context definition based on your business requirements.
- **[Dynamic Revenue Orchestrator Context](https://help.salesforce.com/s/articleView?id=ind.dynamic_revenue_orchestrator_context.htm&release=264.0.0&type=5)**  
    The Salesforce DRO solution comes with its own predefined context definitions that are used to map sales transactions to objects like order and quote.
- **[Configure Procedure Plan Definition for Business Process Orchestration](https://help.salesforce.com/s/articleView?id=ind.dro_configure_procedure_plan_definition_for_business_process_orchestration.htm&release=264.0.0&type=5)**  
    Use the procedure plan definition to determine the correct context definition and mapping, and orchestrate the business process to create a sales transaction fulfillment request.