---
schema_version: "1"
id: a03b61e9e0e26e71b4d302c4fd5f5941fec391134d3a12f9991198d23ccbeb2e
title: Clear Managed Platform Cache
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ind/264-0-0/comms_clear_managed_platform_cache.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.comms_clear_managed_platform_cache.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 62390c2fbb5076e51050ec55610ce93cfd0a41b43b172961f84e38c865950767
description: This job clears the org cache in the CPQPartition platform cache. The job does not affect other cache partitions.
products:
  - Communications
  - Media
  - Energy and Utilities
release: "264"
---
# Clear Managed Platform Cache

This job clears the org cache in the CPQPartition platform cache. The job does not affect other cache partitions.

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col>
          <col>
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d400259e34">
              <p style="margin-bottom:0;">Applies to</p>
            </th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d400259e40">
              <p style="margin-bottom:0;">Winter '18 and later</p>
            </th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="Applies to" class="slds-cell-wrap" style="vertical-align:top;" headers="d400259e34 ">
              <p style="margin-bottom:0;">Apex Name</p>
            </td>

            <td data-label="Winter '18 and later" class="slds-cell-wrap" style="vertical-align:top;" headers="d400259e40 ">
              <p style="margin-bottom:0;"><span class="apiname">clearPlatformCache</span> in
                <span class="apiname">TelcoAdminConsoleHandler</span>
              </p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Applies to" class="slds-cell-wrap" style="vertical-align:top;" headers="d400259e34 ">
              <p style="margin-bottom:0;">Where to Run This Job</p>
            </td>

            <td data-label="Winter '18 and later" class="slds-cell-wrap" style="vertical-align:top;" headers="d400259e40 ">
              <p style="margin-bottom:0;">CMT Administration tab</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Applies to" class="slds-cell-wrap" style="vertical-align:top;" headers="d400259e34 ">
              <p style="margin-bottom:0;">Risks of Running This
                Job</p>
            </td>

            <td data-label="Winter '18 and later" class="slds-cell-wrap" style="vertical-align:top;" headers="d400259e40 ">
              <p style="margin-bottom:0;">All product hierarchy and context rules data will be deleted from
                the org cache, which may affect runtime performance.</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Applies to" class="slds-cell-wrap" style="vertical-align:top;" headers="d400259e34 ">
              <p style="margin-bottom:0;">When Not to Run This
                Job</p>
            </td>

            <td data-label="Winter '18 and later" class="slds-cell-wrap" style="vertical-align:top;" headers="d400259e40 ">
              <p style="margin-bottom:0;">N/A</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Applies to" class="slds-cell-wrap" style="vertical-align:top;" headers="d400259e34 ">
              <p style="margin-bottom:0;">When to Run This Job</p>
            </td>

            <td data-label="Winter '18 and later" class="slds-cell-wrap" style="vertical-align:top;" headers="d400259e40 ">
              <p style="margin-bottom:0;">After making changes to context rule sets, context rules or context
                rule conditions.</p>
            </td>

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

            <td data-label="Winter '18 and later" class="slds-cell-wrap" style="vertical-align:top;" headers="d400259e40 ">
              <p>The Clear Managed Platform Cache job deletes all product hierarchy
                and context rules data in the org cache. You can restore product hierarchy
                data by running the <a href="https://help.salesforce.com/s/articleView?id=ind.comms_refresh_platform_cache_full.htm&amp;release=264.0.0&amp;type=5" title="This job copies product hierarchy data to the platform cache and rebuilds the product attribute cache.">Refresh Platform
                  Cache (Full)</a> job. Context rules data will be repopulated when the rules
                are invoked at runtime.</p>
              <p>You can use the following Apex method
                to programmatically run the Product Hierarchy Maintenance, Clear Managed
                Platform Cache, and Refresh Platform Cache jobs in
                sequence:</p>
              <p>
                <code>CMTAdminJobService.startProductHierarchyMaintenanceJob(pricebookId)</code>
              </p>
              <p style="margin-bottom:0;">To
                run these jobs on all price books, substitute <code>null</code> for the
                price book ID.</p>
            </td>

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

If the Clear Managed Platform Cache maintenance job does not clear the org cache in the CPQPartition platform cache as expected, you can clear the cache with the following workaround:

1. Click Setup, then, in the **Quick Find** box, enter Platform cache.
2. Click Platform cache.
3. Click CPQPartition.
4. Click Clear Cache.