---
schema_version: "1"
id: d2d1c8de8a11eebb849c1117cbb3ecc0211fcbacaa39afd3628de13ea249e91b
title: Populate Cache Batch Process
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/industries/cme/guides/comms-t-populate-cache-batch-process.md
canonical_url: https://developer.salesforce.com/docs/industries/cme/guide/comms-t-populate-cache-batch-process.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 499c4d6085bedc5e582ae88e4f733148508721b4cc527017486b58f79a47b8eb
products:
  - Communications, Media, Energy and Utilities APIs (Managed Package)
  - Industries Developer Documentation
---
# Populate Cache Batch Process

You can populate and initialize the cache by running batch jobs from the CMT Administration screen.

For an overview of Digital Commerce caching, see [Digital Commerce API Caching](https://developer.salesforce.com/docs/industries/cme/guide/comms-t-digital-commerce-api-caching.md).

The following table describes the purpose of each of the jobs:

| Batch Job                   | Description                                                                                                                                                             | Interface and Implementation                                                                                                             | Custom Settings                                                          |
| --------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------ |
| ContextEligibilityGenerator | Populates the cache with eligible offers for individual context combinations. This data is used in the GetOffers and GetContainOffers jobs.                             | [ContextEligibilityBatchJobRecord](https://help.salesforce.com/s/articleView?id=ind.v_dev_t_contexteligibilitybatchjobrecord_653197.htm) | CacheAPI.GetRelOffersCacheRecLimit CacheAPI.MaxGetRelOffersCacheRecLimit |
| EcomDataProfileGenerator    | Populates the cache with Products, Promotions, and PCIMap data for existing products related to each catalog. This data is used in the ContextEligibilityGenerator job. | [DataProfileBatchJobRecord](https://help.salesforce.com/s/articleView?id=ind.v_dev_t_dataprofilebatchjobrecord_653414.htm)               | CacheAPI.CombinationLimit CacheAPI.MaxCombinationLimit                   |
| RuleSetCombinationGenerator | Populates the cache with RuleSet context combinations. This data is used in the ContextEligibilityGenerator job.                                                        | [RuleSetCombinationBatchJobRecord](https://help.salesforce.com/s/articleView?id=ind.v_dev_t_rulesetcombinationbatchjobrecord_657153.htm) | CacheAPI.GetOffersCacheRecLimit CacheAPI.MaxGetOffersCacheRecLimit       |
| GetContainOffers            | Populates the cache with the parent offers for individual offers.                                                                                                       | [GetRelatedOffersBatchJobRecord](https://help.salesforce.com/s/articleView?id=ind.v_dev_t_getrelatedoffersbatchjobrecord_654433.htm)     | None                                                                     |
| GetOfferDetails             | Populates the cache with the details of individual offers (both products and promotions).                                                                               | [GetOfferDetailsBatchJobRecord](https://help.salesforce.com/s/articleView?id=ind.v_dev_t_getofferdetailsbatchjobrecord_654149.htm)       | None                                                                     |
| GetOffers                   | Populates the cache with the list of offers for individual context combinations.                                                                                        | [GetOffersBatchJobRecord](https://help.salesforce.com/s/articleView?id=ind.v_dev_t_getoffersbatchjobrecord_654204.htm)                   | None                                                                     |
| GetOffersHierarchyHelper    | Populates the cache with the hierarchy of bundles. This data is used in the GetOfferDetails job.                                                                        | [GetOffersHierarchyBatchJobRecord](https://help.salesforce.com/s/articleView?id=ind.v_dev_t_getoffershierarchybatchjobrecord_654258.htm) | None                                                                     |
| GetPrices                   | Populates the cache with the prices of products.                                                                                                                        | [GetPricesBatchJobRecord](https://help.salesforce.com/s/articleView?id=ind.v_dev_t_getpricesbatchjobrecord_654313.htm)                   | None                                                                     |

To run the Populate API Cache batch jobs:

1.  Navigate to the **Vlocity CMT Administration** screen.

2.  Click **Start** next to **Populate API Cache**.

    The Populate API Cache screen appears. The illustration below shows a sample of the Populate API Cache screen,

    ![Populate API cache](https://developer.salesforce.com/docs/media/populate_api_cache_3.png)

3.  Make any of the following optional settings:

    - To specify a particular cache job to run, check the box next to the job name.

    - To specify that all of the cache jobs should run, check the box next to **Name**.

    - To specify that you want to populate the cache with information from one or more catalogs, select the checkbox next to each catalog.

    - To specify that you want to populate the cache with information from all active catalogs, select the **All** checkbox under Catalogs.

    - Use the **Effective Start Date** and **Expiration Date** fields to specify the length of time the cache is active.

4.  Click **OK**. You receive a confirmation about whether the job or jobs have run successfully.

    The Populate API Cache page shows only those catalogs marked as Active

    **note:** You can also run the Digital Commerce API cache jobs remotely using APEX. See [Running Maintenance and Digital Commerce Cache Jobs Remotely](https://developer.salesforce.com/docs/industries/cme/guide/comms-t-running-maintenance-and-digital-commerce-cache-jobs-remotely.md).
