Loading
Salesforce now sends email only from verified domains. Read More
Get Started with Communications, Media, and Energy & Utilities (CME)...
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Refresh Platform Cache (Incremental)

          Refresh Platform Cache (Incremental)

          The Refresh Platform Cache (Incremental) job updates the platform cache with changes in the product hierarchy without deleting existing data. Run the Product Hierarchy Maintenance job before you start the Refresh Platform Cache (Incremental) to ensure that changes to product bundles are properly reflected in your implementation.

          Create a Cache Management trigger named CacheAPI.CacheManagement to capture any relevant changes across specified SObject types. These changes are used to update the platform cache with changed data. This trigger must be created before making any modifications to Products, Promotions, or any dependent data. The Refresh Platform Cache (Incremental) job will only capture and update changed data if this trigger is enabled. Setting up this trigger is a one-time activity.For more information, see the SObject types that get logged when this trigger setting is enabled Cache Management SObject Types.

          1. From Setup, in the Quick Find/Search box, enter Custom Settings.
          2. Click the Custom Settings link.
          3. In the Alphabetical link menu, click T to go to the Trigger Setup custom setting.
          4. Click the Trigger Setup custom setting.
            Trigger Setup Custom Settings
          5. In the Custom Setting Definition Detail section, click Manage.
            Custom Setting Definition Detail
          6. On the Custom Setting Trigger Setup page, click New.
          7. In the Trigger Setup Information section, enter the nameCacheAPI.CacheManagement.
          8. Select Trigger on.
          9. Click Save.
            You can also run the Refresh Platform Cache (Incremental) job using Apex. Here's a sample code. vlocity_cmt.TelcoAdminConsoleController controller = new vlocity_cmt.TelcoAdminConsoleController();controller.setParameters('{\"methodName\":\"refreshPriceBook\",\"IncrementalUpgrade\":true}');controller.invokeMethod();
            Applies to Winter `23 and later releases

            Apex Name

            ProductHierarchyBatchProcessor

            ProductAttributesBatchProcessor

            Where to Run This Job

            CMT Administration Tab

            Risks of Running This Job

            Running a Refresh Platform Cache (Incremental) job doesn’t impact ongoing order or quotes. You can run the job to update the platform cache for changes to the product hierarchy or filterable attributes without any downtime.

            When Not to Run This Job

            NA

            When to Run This Job

            After changing product bundles, product cardinality, or attributes in the Vlocity Product Designer.

           
          Loading
          Salesforce Help | Article