---
schema_version: "1"
id: f803fcaeeb0db519c2a0ea2f6ac7357d076aef80b9b9a7f552cca193aa589aaa
title: Generate Compile Data
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ind/264-0-0/comms_epc_generate_compile_data.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.comms_epc_generate_compile_data.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 61fd1715226ab69f6dfabc7694b7383df971adde2a96c0f2bcf1e79d25b5fbe6
description: ​The Generate EPC Compile Data job caches the product information, such as product structure, cardinality, rules, attributes, and pricing. Compiled Data is a snapshot of the cacheable definitions as of when the job was invoked.
products:
  - Communications
  - Media
  - Energy and Utilities
release: "264"
---
# Generate Compile Data

​The Generate EPC Compile Data job caches the product information, such as product structure, cardinality, rules, attributes, and pricing. Compiled Data is a snapshot of the cacheable definitions as of when the job was invoked.

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
      <colgroup>
        <col style="width:50%">
        <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="d145691e34">
            <p style="margin-bottom:0;">Applies to</p>
          </th>
          <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d145691e40">
            <p style="margin-bottom:0;">All Releases</p>
          </th>
        </tr>
      </thead>
      <tbody>
        <tr class="">
          <td data-label="Applies to" class="slds-cell-wrap" style="vertical-align:top;" headers="d145691e34 ">
            <p style="margin-bottom:0;">Apex Name</p>
          </td>

          <td data-label="All Releases" class="slds-cell-wrap" style="vertical-align:top;" headers="d145691e40 ">
            —</td>

        </tr>
        <tr class="">
          <td data-label="Applies to" class="slds-cell-wrap" style="vertical-align:top;" headers="d145691e34 ">
            <p style="margin-bottom:0;">Where to run this job</p>
          </td>

          <td data-label="All Releases" class="slds-cell-wrap" style="vertical-align:top;" headers="d145691e40 ">
            <p>
              On the Vlocity CMT Administration page, click <strong class="uicontrol">EPC Jobs</strong>. On the EPC Jobs page, click <strong class="uicontrol">Start</strong> next to GENERATE EPC COMPILE DATA.
            </p>
            <p style="margin-bottom:0;">Apply filters to products and generate compile data for products, promotions, rules, pricing, and more. Click <strong class="uicontrol">Start</strong>.</p>
          </td>

        </tr>
        <tr class="">
          <td data-label="Applies to" class="slds-cell-wrap" style="vertical-align:top;" headers="d145691e34 ">
            <p style="margin-bottom:0;">Risks of running this job</p>
          </td>

          <td data-label="All Releases" class="slds-cell-wrap" style="vertical-align:top;" headers="d145691e40 ">
            <p style="margin-bottom:0;">High risk</p>
          </td>

        </tr>
        <tr class="">
          <td data-label="Applies to" class="slds-cell-wrap" style="vertical-align:top;" headers="d145691e34 ">
            <p style="margin-bottom:0;">When not to run this job</p>
          </td>

          <td data-label="All Releases" class="slds-cell-wrap" style="vertical-align:top;" headers="d145691e40 "> When product data isn’t ready to be cached.</td>

        </tr>
        <tr class="">
          <td data-label="Applies to" class="slds-cell-wrap" style="vertical-align:top;" headers="d145691e34 ">
            <p style="margin-bottom:0;">When to run this job</p>
          </td>

          <td data-label="All Releases" class="slds-cell-wrap" style="vertical-align:top;" headers="d145691e40 ">
            <p> The cached data is necessary for the Standard Cart-Based APIs to function correctly.</p>
            <ul>
              <li>After you complete your product configuration.</li>
              <li>After you run the PRODUCT HIERARCHY MAINTENANCE, CLEAR MANAGED PLATFORM CACHE, and FIELD MAPS MAINTENANCE jobs. </li>
              <li>Before using the Standard Cart-Based APIs.</li>
            </ul>
          </td>

        </tr>
        <tr class="">
          <td data-label="Applies to" class="slds-cell-wrap" style="vertical-align:top;" headers="d145691e34 ">
            <p style="margin-bottom:0;">More information</p>
          </td>

          <td data-label="All Releases" class="slds-cell-wrap" style="vertical-align:top;" headers="d145691e40 ">
            <p style="margin-bottom:0;">__</p>
          </td>

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

![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 If any of the compile jobs fail, the subsequent jobs will still run in sequence, even if they depend on the previous jobs. This is because the subsequent jobs do not know the status of the previous job. As a result, the last Compile Price job may fail with either the Attempt to dereference a null object or the No Active snapshot found error.