You are here:
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.
- From Setup, in the Quick Find/Search box, enter Custom Settings.
- Click the Custom Settings link.
- In the Alphabetical link menu, click T to go to the Trigger Setup custom setting.
- Click the Trigger Setup custom setting.
- In the Custom Setting Definition Detail section, click Manage.
- On the Custom Setting Trigger Setup page, click New.
-
In the Trigger Setup Information section, enter the
name
CacheAPI.CacheManagement. - Select Trigger on.
-
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.

