---
schema_version: "1"
id: 6f7e3d3b466bf826f254aac5df8bd51dba2b2facf76e1cb36a9cf6b9a3c4de29
title: Fix a Stalled Promotion When Deployment Succeeds But the Branch Merge Fails
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/devops_center_promotion_stalled_branch_unmerged.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.devops_center_promotion_stalled_branch_unmerged.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: b00a45a5566112170eb26ddd90fcf2d4c0edf01bd98d76e05061be02bf44570d
description: If DevOps Center deployed the changes to the target environment but didn’t merge them into the target stage branch, set the associated async request record status to Error. Then refresh the pipeline and try the promotion again.
products:
  - Salesforce Platform
release: "264"
---
# Fix a Stalled Promotion When Deployment Succeeds But the Branch Merge Fails

If DevOps Center deployed the changes to the target environment but didn’t merge them into the target stage branch, set the associated async request record status to Error. Then refresh the pipeline and try the promotion again.

### 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. DevOps 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>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:center;vertical-align:top;" id="d29942e104">User Permissions Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d29942e104 ">To fix a stalled promotion:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d29942e104 ">DevOps Center Deployment Manager</td>

          </tr>
        </tbody>
      </table>

To identify where the promotion stalled, see [Troubleshoot a Stalled Promotion](https://help.salesforce.com/s/articleView?id=platform.devops_center_promotion_stalled.htm&release=264.0.0&type=5 "A promotion can stall while Lifecycle Center deploys changes to the target environment or merges changes into the target stage branch. Check the deployment and change request to determine where the promotion stalled, and then follow the appropriate recovery procedure.").

1. In your DevOps Center org, open Developer Console, then select the **Query Editor** tab.
2. To find the Work Item Promote record that’s still in progress, run this SOQL query:
    
    ```
    SELECT Id, sf_devops__Status__c
     FROM sf_devops__Work_Item_Promote__c
     WHERE sf_devops__Status__r.sf_devops__Status__c = 'In Progress'
    ```
3. In the query results, select the affected Work Item Promote record, and then click **Open Detail Page**.
4. Click the **AOR-<id>** link in the **Status** field to open the associated Async Operation Result record.
    
    ![Work Item Promote record with the Status link highlighted.](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-devops_center-264-0-0-production-enus/166010c3-4c34-4087-92ad-aea917baf524/devops_center/images/ts-work-item-promote-record.png)
5. On the Async Operation Result record, change **Status** to **Error**, and then save your changes.
6. In DevOps Center, refresh the **Pipeline Stages** view.
7. Promote the changes again.
    
    The stalled-promotion error no longer appears.

#### See Also

- [Fix a Stalled Promotion When the Promotion Failed](https://help.salesforce.com/s/articleView?id=platform.devops_center_promotion_stalled_failed.htm&release=264.0.0&type=5 "If a promotion failed before DevOps Center deployed the changes to the target environment or merged them into the target stage branch, set the associated async request record status to Error. Then refresh the pipeline and try the promotion again.")
- [Fix a Stalled Promotion When the Promotion Succeeded](https://help.salesforce.com/s/articleView?id=platform.devops_center_promotion_stalled_succeeded.htm&release=264.0.0&type=5 "If DevOps Center deployed the changes to the target environment and merged them into the target stage branch, but the promotion doesn’t appear as completed in DevOps Center, update the associated records to reflect the successful result.")