---
schema_version: "1"
id: 06ef28a55171c9d86ac5ba2f5516fffc9ff3ebdc91cd796c1f8ddeefb34b53ba
title: Validate-Only Deployment
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/next_gen_devops_center_validate_only.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.next_gen_devops_center_validate_only.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 628dbcfdb5095192463cc78566ff467ae02f4bbc41ab0b324b9952591ce31130
description: Run a validate-only deployment to find deployment errors, Apex test failures, and code coverage issues without changing the target org or merging branches. If the validation succeeds and remains eligible, complete the promotion within 10 days without rerunning Apex tests..
products:
  - Salesforce Platform
release: "264"
---
# Validate-Only Deployment

Run a validate-only deployment to find deployment errors, Apex test failures, and code coverage issues without changing the target org or merging branches. If the validation succeeds and remains eligible, complete the promotion within 10 days without rerunning Apex tests..

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Lightning Experience in <strong>Professional</strong> (API access required), <strong>Enterprise</strong>, <strong>Performance</strong>, <strong>Unlimited</strong>, and <strong>Developer</strong> Editions</td></tr></tbody><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Not available in: <strong>Government Cloud Plus</strong>. Contact your Salesforce account executive for more details.</td></tr></tbody><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Not available in: <strong>EU Operating</strong> Zone. EU Operating zone is a special paid offering that provides an enhanced level of data residency commitment. Lifecycle Center <em>is</em> supported in orgs in the EU that aren’t part of EU OZ, per standard product terms and conditions.</td></tr></tbody></table>

## How Validate-Only Deployments Work

During a validate-only deployment, Lifecycle Center performs a check-only deployment to the target org, runs the selected Apex tests, and reports whether the validation succeeded. The validation doesn’t complete the promotion.

You can view validate-only deployment results in the Activity History tab. If validation fails, review the activity details, fix the issue, and rerun the validation.

## Complete the Promotion After a Successful Validation

When a validation succeeds, you can finish the promotion from that validation without rerunning Apex tests. Lifecycle Center saves the validated changes in the target org, completes the branch merge, and moves the work items to the next stage. This step is optional. After ‌validation succeeds, you can still run a standard promotion. A standard promotion runs a new deployment and the tests selected for that promotion.

## Considerations Before You Run a Validate-Only Deployment

- Allow time for validation. A validate-only deployment can take about as long as a standard deployment that runs the same Apex tests. Run validation early to investigate and fix any failures before you plan to promote.
- Select a nondefault Apex test option. A validation that uses the default test option (no tests) requires you to rerun tests before promoting. For details about the available options, see [Promotion Options](https://help.salesforce.com/s/articleView?id=platform.next_gen_devops_center_promotion_options.htm&release=264.0.0&type=5 "Select the promotion type, which changes to apply, and which Apex tests to run when you promote a stage or selected work items.").
- Meet the test and code coverage requirements. The deployment checks and selected Apex tests must pass. Changes must meet the code coverage requirements. Production deployments require at least 75% Apex code coverage. If Lifecycle Center can’t determine the code coverage or coverage is below the threshold, validation fails and you can’t complete the promotion from that validation.
- Account for stage test suites. Lifecycle Center Testing test suites assigned to a pipeline stage are separate from the Apex tests selected for the deployment. Assigned test suites run automatically as a pre-promotion quality gate. A failed quality gate blocks the promotion. See [Testing Before Promotion to the Next Stage](https://help.salesforce.com/s/articleView?id=platform.devops_center_testing_before_promotion.htm&release=264.0.0&type=5 "Lifecycle Center Testing automatically runs assigned test suites before a work item advances to the next pipeline stage, ensuring only validated changes reach Integration, Staging, and Production.").
- Complete the promotion within 10 days after a successful validation. Each successful validation has its own eligibility period.
- Keep the validated changes unchanged. The changes you promote must match the validated changes. For example, if you validate work items WI000001 and WI000002 but later select work items WI000001 and WI000003, run another validation or use a standard promotion.
- Avoid promotions and external merges before completing a promotion. A promotion or external merge that changes the source or target stage makes ‌validation ineligible, even if the new changes appear unrelated to the validated changes.
- Lifecycle Center checks eligibility when it shows the **Complete Promotion** option and again when you start the deployment. The target org also rejects an expired or unusable validation.
- If you rerun validate-only deployment, Lifecycle Center considers only the last validation.
- You can run validate-only deployment without selecting any Apex tests, in which case, Lifecycle Center doesn't show the **Complete Promotion** option.
- Only metadata changes are validated. When you complete the promotion, data changes are deployed without validation.

If a validation is no longer eligible, run another validate-only deployment or continue with a standard promotion.

- **[Run a Validate-Only Deployment](https://help.salesforce.com/s/articleView?id=platform.next_gen_devops_center_run_validate_only.htm&release=264.0.0&type=5)**  
    Run a validate-only deployment to check whether a promotion succeeds without saving metadata to the target org or finalizing the merge into the target stage branch. If the validation succeeds and remains eligible, complete promotion within 10 days to deploy the validated changes without rerunning Apex tests.

#### See Also

- [Run a Validate-Only Deployment](https://help.salesforce.com/s/articleView?id=platform.next_gen_devops_center_run_validate_only.htm&release=264.0.0&type=5 "Run a validate-only deployment to check whether a promotion succeeds without saving metadata to the target org or finalizing the merge into the target stage branch. If the validation succeeds and remains eligible, complete promotion within 10 days to deploy the validated changes without rerunning Apex tests.")
- [Promotion Options](https://help.salesforce.com/s/articleView?id=platform.next_gen_devops_center_promotion_options.htm&release=264.0.0&type=5 "Select the promotion type, which changes to apply, and which Apex tests to run when you promote a stage or selected work items.")