Fix a Stalled Promotion When the Promotion Succeeded
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.
Required Editions
Available in: Lightning Experience in Professional (API access required),
Enterprise, Performance, Unlimited, and Developer
Editions
Not available in: Government Cloud Plus. Contact your Salesforce account
executive for more details.
Not available in: EU Operating Zone. EU Operating zone is a special paid
offering that provides an enhanced level of data residency commitment. DevOps Center
is supported in orgs in the EU that aren’t part of EU OZ, per standard product terms
and conditions.
In your DevOps Center org, open Developer Console, then select the Query
Editor tab.
To find the Deployment Result record that’s still in progress, run this SOQL query:
SELECT Id, sf_devops__Status__c
FROM sf_devops__Deployment_Result__c
WHERE sf_devops__Status__r.sf_devops__Status__c = 'In Progress'
If the query returns multiple records, identify the record associated with the affected
work item.
Copy the ID of a returned record. Replace
<deployment-result-record-id> in this query with the copied ID, and then
run the query. Repeat for each returned ID until the query returns the affected work item.
SELECT Id, Name
FROM sf_devops__Work_Item__c
WHERE sf_devops__Operation_Status__c = '<deployment-result-record-id>'
In the original query results, select the deployment record associated with the affected
work item, and then click Open Detail Page.
On the Deployment Result record, set Deployment Id to
undeployed, and then save your changes.
Click the AOR-<id> link in the
Status field to open the associated Async Operation Result record.
On the Async Operation Result record, change Status to
Completed, and then save your changes.
In DevOps Center, refresh the Pipeline Stages view.
We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required Cookies
Always Active
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional Cookies
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising Cookies
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.