---
schema_version: "1"
id: c6997c4644540a20acf43caa0cf34b4c49ed4260d136728387e14b6e9d3c0c20
title: Set Up a Default Fee for a Service Flow
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/commerce/264-0-0/om_flow_configure_default_fee.md
canonical_url: https://help.salesforce.com/s/articleView?id=commerce.om_flow_configure_default_fee.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: f973426a0fea806f8cb2e4ad6f3122f7b4662ee98f5a157a8378b0dd3092f743
description: You can use all Order Management service flows out of the box, and you can also customize a flow and expand its functionality. This customization ensures consistency across service fees and saves time while processing an order by setting a default fee.
products:
  - Commerce
  - Salesforce Order Management
release: "264"
---
# Set Up a Default Fee for a Service Flow

You can use all Order Management service flows out of the box, and you can also customize a flow and expand its functionality. This customization ensures consistency across service fees and saves time while processing an order by setting a default fee.

### 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;"><a href="https://help.salesforce.com/s/articleView?id=commerce.om_editions.htm&amp;language=en_US" target="_blank">View supported editions</a>.</td></tr></tbody></table>

If you don’t have an editable version of the flow yet, [copy a flow template](https://help.salesforce.com/s/articleView?id=commerce.om_flow_copy.htm&release=264.0.0&type=5 "Before you can activate or customize a flow, you need to clone the flow. Cloning creates an editable version that you can modify or activate out-of-the-box on your store. If you set up your store using the Commerce Setup Assistant, your flows are already cloned.").

You can set default fees in these flows: cancel, discount, return, and RMA.

1. Click ![Setup](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-commerce-om_order_management-264-0-0-production-enus/4c4844e3-a194-4a65-95b7-17291a6dbefa/om_order_management/images/om_setup_icon_no_border.png) at the top of the page, and then select **Setup**.
2. In the Quick Find box, enter flows, and select **Flows**.
3. Select the flow that you’re customizing.
4. In the flow, open the Manager tab.
5. Configure the Allow Fees variable.
    1. Depending on your flow, find the allowReturnFees or allowCancelFees variable.
    2. For Default Value, enter {!$GlobalConstant.True}.
6. Set a value for one or more of these variables.
    
    You don’t have to include all the values in this customization. If you leave the default fee value empty, it defaults to 0 and no default fee will apply.
    
    - Find and select **selectedFeeType**, and enter Amount or Percent as the type of fee. The default is Amount.
    - Find and select **selectedFeeValue**, and enter a default fee value. The default value is 0.
    - Find and select **selectedReasonForFee**, and enter a reason code. If you don’t provide one, the reason defaults to no text.
    - Find and select **selectedProduct2Id**, and enter a product2 to associate with the fee. If you don’t provide a product2, Commerce creates one for the fee.
7. Click **Save**.
8. If you’re ready to activate the flow, click **Activate**.

#### See Also

- [Customizing Order Management Service Flows](https://help.salesforce.com/s/articleView?id=commerce.om_flow_customizations.htm&release=264.0.0&type=5 "The Order Management service flows let customer service representatives (CSRs) help customers with their orders. You can use the provided flows as is, and you can also expand and customize them. Here are some common customizations that you can implement.")
- [Return and Cancel Fee Processes](https://help.salesforce.com/s/articleView?id=commerce.om_return_fee_process.htm&release=264.0.0&type=5 "To charge a fee on a return order line item during an RMA return, include the fee when creating the return order and process it when returning the return order line item. To charge a fee on a simple return or cancel, include it when submitting the return or cancel.")