---
schema_version: "1"
id: 75bab433a603682afd4f700e2afea71f4a8c2e5e1391f0e69efdd84078d6edaa
title: Run the RegenerateCacheOrchestratorApplication Class
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/industries/cme/guides/comms-t-run-the-regeneratecacheorchestratorapplication-class.md
canonical_url: https://developer.salesforce.com/docs/industries/cme/guide/comms-t-run-the-regeneratecacheorchestratorapplication-class.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: e2f250344b05e2943b6b15dd8a4a6e38c75eb3875b7cb2de556f49b2bef275e0
products:
  - Communications, Media, Energy and Utilities APIs (Managed Package)
  - Industries Developer Documentation
---
# Run the RegenerateCacheOrchestratorApplication Class

You've used Postman to get the session token from your org, configured your IDE for Java, loaded the orchestration classes into your IDE, and populated the cache. Now you're ready to configure and run the RegenerateCacheOrchestratorApplication class.

To run the RegenerateCacheOrchestratorApplication class in Visual Studio Code:

1.  In Visual Studio Code, click the Explorer icon and expand the CACHE_AND_POPULATE_ORCHESTRATORS pane.

2.  Locate and click the `RegenerateCacheOrchestratorApplication.java` file. The file opens in a tab.

3.  Edit these String values in the file:

    | String Value | Set the value to                                                                                                                                                 |
    | ------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- |
    | accessToken  | The `access_token` value you saved in the [Set Up Postman, Import the Files, and Get the Token](https://developer.salesforce.com/docs/industries/cme/guide/comms-t-set-up-postmanimport-the-filesand-get-the-token.md) task |
    | orgNamespace | `vlocity_cmt`.                                                                                                                                                   |
    | instanceUrl  | Your org's hostname, for example `https://demo.my.salesforce.com`                                                                                                |

4.  Make sure part of the file looks something like this, then save it:

    ```nolang
    ...
    String accessToken = "xxxxxxxxxxxxxxxxxxxxxxxxxx";
    String orgNamespace = "vlocity_cmt";
    String instanceUrl = "https://demo.my.salesforce.com";
    ...
    ```

5.  Right-click the `RegenerateCacheOrchestratorApplication.java` file and select **Run Java**.

6.  Watch the TERMINAL pane to see JSON responses for REST API calls appear.
