---
schema_version: "1"
id: ecfdae8e274106d8381b1318ce9b77a1c9fafe861e33b5dbbb9dd5fcebd891e6
title: Set Up the Tariff Comparison Screen Flow
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ind/264-0-0/ene_configure_the_tariff_comparison_screen_flow.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.ene_configure_the_tariff_comparison_screen_flow.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: b6a5bc8e53b03cef6d67c531d1786533e0813c002b6d4455fa30e4154e067c7f
description: Set up and customize the main Tariff Comparison screen flow for your users.
products:
  - Energy and Utilities
release: "264"
---
# Set Up the Tariff Comparison Screen Flow

Set up and customize the main Tariff Comparison screen flow for your users.

### 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> Editions</td></tr></tbody></table>

See the Trailhead module: [Flow Builder Basics](https://trailhead.salesforce.com/en/content/learn/modules/flow-builder).

Tariff Comparison feature uses the following flows and invocable action to get pricing plans for the products.

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ind-energy_utilities-264-0-0-production-enus/520849e5-9b41-4bae-b97b-d269cc2fce83/images/icon_note.png)

Note If you've extended the Tariff Comparison flow before Summer '26, we recommend that you re-extend the Tariff Comparison flow to manage add-on products.

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col style="width:25%">
          <col style="width:25%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d88847e87">Flow Template Name</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d88847e90">Flow Type</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d88847e93">Flow Template Description</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="Flow Template Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d88847e87 ">Tariff Comparison</td>

            <td data-label="Flow Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d88847e90 ">Main flow</td>

            <td data-label="Flow Template Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d88847e93 ">Displays the most economical tariffs for utility customers to subscribe, based
              on their location, service type, and estimated consumption.</td>

          </tr>
          <tr class="">
            <td data-label="Flow Template Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d88847e87 ">Set Up Energy Service</td>

            <td data-label="Flow Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d88847e90 ">Sub-flow</td>

            <td data-label="Flow Template Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d88847e93 ">
              <p style="margin-bottom:0;">Creates the records for the Location, Address, Associated Location, Service Points,
                Energy Service Agreement, and Energy Service Agreement Item objects after an order
                is activated as a part of the tariff comparison process.
              </p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Flow Template Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d88847e87 ">Activate Energy Service</td>

            <td data-label="Flow Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d88847e90 ">Sub-flow</td>

            <td data-label="Flow Template Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d88847e93 ">
              <p style="margin-bottom:0;">Activates the Energy Service Agreement and Energy Service Agreement Item objects after an order
                is activated as a part of the tariff comparison process.
              </p>
            </td>

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

1. Update the Tariff Comparison flow.
    1. From **Setup**, in the Quick Find box, enter **Flows**, and then select **Flows**.
    2. In the list of flows, select the Managed-Installed version of **Tariff Comparison**.
        
        The selected flow opens in Flow Builder.
    3. Update the flow constants as required.
        
        - **CatalogCode**: Replace with the Code for your Commodity Catalog.
        - **CatalogToCategoryAndServiceTypeDTApiName**: Replace with the API name of the Decision Table created for catalog-to-category and service type mapping.
        - **EntityAndFieldToAttributeDTApiName**: Replace with the API name of the Decision Table created for entity and field-to-attribute mapping.
        - **AddOnProductsCategoryCode**: Stores the category code for the add-on non-commodity products.
    4. To add more price-impacting attributes, select the **AddToPriceImpactingingAttributesCollection** element and add the attribute code to the **PriceImpactingAttributesList** collection variable.
    5. Select **Save As**, provide a new **Flow Label** and **Flow API Name**, and then select **Save**.
    6. Activate this flow and all the flows included in the table.
2. Set up the Tariff Comparison Action.
    
    Create an action to run the Tariff Comparison flow and add it to the record page.
    
    1. From Setup, go to the **Object Manager**.
    2. Select the object that you want to add the action to.
    3. Go to **Buttons, Links, and Actions**, and select **New Action**.
    4. In **Action Type**, select **Flow**.
    5. From the **Flow** dropdown, select the **Tariff Comparison** flow.
    6. Add a label and a name. For example, enter Compare Tariffs for the label.
    7. Save your changes.
3. Add the button to the page layout of a record.
    1. From the object management settings for the object you added the action to, go to **Page Layouts**.
    2. Select the page layout that you want to modify.
    3. Select **Mobile and Lightning Actions**.
    4. Under **Salesforce Mobile and Lightning Experience Actions**, if you see a link to override the predefined actions, select it.
    5. Drag the action from the palette to the **Salesforce Mobile and Lightning Experience Actions** section.
    6. Save your changes.