---
schema_version: "1"
id: 819e8945c74a5092315f0f7af043f55531e079e6e80958b8945ae66c1661d34b
title: Create Context Actions
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ind/264-0-0/comms_create_context_actions.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.comms_create_context_actions.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 02faa33a0f766395c69d0ca32c82ddc15e8984c9d0a926f22b56071fe341240f
description: Use context actions with penalty rules to apply a fee when a promotion or contract is canceled. Context actions enable you to specify a flat fee using a pricing element on a price list.
products:
  - Communications
  - Media
  - Energy and Utilities
release: "264"
---
# Create Context Actions

Use context actions with penalty rules to apply a fee when a promotion or contract is canceled. Context actions enable you to specify a flat fee using a pricing element on a price list.

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ind-comms_media_energy_managed-264-0-0-production-enus/ff4079f6-a384-475c-b863-578bbbb0ef9b/images/icon_note.png)

Note

When specifying a pricing element on a price list for a context action, the price list can be different than the price list associated with the order.

Create context actions in Vlocity Product Console. Use context actions when specifying child context rules for a penalty rule set. For more information about rule sets, see [Create Rule Sets](https://help.salesforce.com/s/articleView?id=ind.comms_create_rule_sets.htm&release=264.0.0&type=5 "A rule set is a logical grouping of one or more context rules. A rule set enables you to designate how the grouped context rules are expressed in a logical expression and how they are used in Industries Cart. To create a rule set, you define general properties and then specify one or more context rules as child rules.").

1. In Vlocity Product Console, in the **Rules** area, next to Context Action, click **Create** ![The plus icon for Create](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ind-comms_media_energy_managed-264-0-0-production-enus/ff4079f6-a384-475c-b863-578bbbb0ef9b/resources-product/images/productconsole_create.jpg).
2. On the **New Context Action** tab, enter the following information.
    
    - **Name** is the name of the context action.
        
        ![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ind-comms_media_energy_managed-264-0-0-production-enus/ff4079f6-a384-475c-b863-578bbbb0ef9b/images/icon_note.png)
        
        Note
        
        You cannot use spaces in a context action name.
    - **Code** is the context action code.
    - **Type** is the rule purpose. **Flat Fee** uses the pricing element specified below as the penalty fee. **Custom Calculation** is reserved for future functionality.
    - **Price List** specifies the price list that contains the pricing element to use as the penalty fee. Use the **Price List Lookup** dialog box to find the price list.
    - **Pricing Element** specifies the pricing element to use as the penalty fee. Use the **Pricing Element Lookup** dialog box to find the pricing element.
    - **Custom Implementation** is reserved for future functionality.
    - **Active** specifies whether the context action is active.
    - **Effective From** is the start date of the period during which the context action is effective.
    - **Effective Until** is the end date of the period at which the context action is no longer effective.
3. Click **Save**.