---
schema_version: "1"
id: 7bed0012df78cb2be08b8526e06b1e219e77e79df2d68157d42d5ad84a8e6e66
title: Create a Code Replication Process in B2C Commerce
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/cc/264-0-0/b2c_create_code_replication_process.md
canonical_url: https://help.salesforce.com/s/articleView?id=cc.b2c_create_code_replication_process.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 042d314e9383ca3dbfcc1cb307bcec05822a7b580cac2e54426a08be69e4b5ad
description: Trigger a code replication process manually, schedule it to run at a specified time, or create a job to run it.
products:
  - Commerce
  - B2C Commerce
release: "264"
---
# Create a Code Replication Process in B2C Commerce

Trigger a code replication process manually, schedule it to run at a specified time, or create a job to run it.

1. Click App Launcher ![App Launcher](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-cc-b2c_merchandiser_administrator-264-0-0-production-enus/ea76f372-6cfa-42a6-8e7c-05c6df7abed8/cc/b2c_merchandiser_administrator/images/appLauncher.png), and then select **Administration** | **Replication** | **Code Replication**. A list of existing code replication processes appears.
2. Click **New**.
3. The system generates a Process ID. Enter a different ID.
4. From the dropdown list, select a target instance.
5. (Optional) Enter a description.
6. From the dropdown list, select an activation type.
    
    <table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small "><tbody><tr class=""><th style="vertical-align:top;" headers="d137687e86-option" id="d137687e90">Manual</th><td style="vertical-align:top;" headers="d137687e86-desc d137687e90">The process runs when you manually trigger it.</td></tr><tr class=""><th style="vertical-align:top;" headers="d137687e86-option" id="d137687e99">Automatic</th><td style="vertical-align:top;" headers="d137687e86-desc d137687e99">The process runs once at a time that you specify. Selecting this option displays date and time fields. The default value is the next midnight.</td></tr><tr class=""><th style="vertical-align:top;" headers="d137687e86-option" id="d137687e108">Job Step</th><td style="vertical-align:top;" headers="d137687e86-desc d137687e108">The process is available to run as part of a job.</td></tr></tbody></table>
7. From the dropdown list, select a notification email trigger. Enter multiple target email addresses separated by commas.
    
    <table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small "><tbody><tr class=""><th style="vertical-align:top;" headers="d137687e122-option" id="d137687e126">-None-</th><td style="vertical-align:top;" headers="d137687e122-desc d137687e126">No emails are sent.</td></tr><tr class=""><th style="vertical-align:top;" headers="d137687e122-option" id="d137687e135">When Process Ends</th><td style="vertical-align:top;" headers="d137687e122-desc d137687e135">Sends an email to the specified addresses when the process ends, whether it succeeds or fails. If it hangs, then no email is sent.</td></tr><tr class=""><th style="vertical-align:top;" headers="d137687e122-option" id="d137687e144">When Process Fails</th><td style="vertical-align:top;" headers="d137687e122-desc d137687e144">Sends an email to the specified addresses when the process fails. If the process succeeds or hangs, then no email is sent.</td></tr><tr class=""><th style="vertical-align:top;" headers="d137687e122-option" id="d137687e153">Periodically</th><td style="vertical-align:top;" headers="d137687e122-desc d137687e153">Enter a time period in minutes. While the process is running, emails are sent to the specified addresses at that interval until the process finishes. An email is also sent when the process succeeds or fails.</td></tr></tbody></table>
8. Click **Next**.
9. From the dropdown list, select a replication type.
10. Click **Next** and review the process details. After you create the process, it can’t be changed.
11. Click **Create** or **Schedule** to create the process. If you selected Manual activation, click **Start** to create the process and immediately run it.
    
    After the code replication process has begun, it can't be deleted.