
Copado
Back-promote a Copado Salesforce hotfix, review the merged Flow and verify both routing paths in the destination sandbox.
- Select the hotfix
- Include the User Story without unrelated work.
- Review the merge
- Keep both the partner fix and the lower environment’s direct-sales path.
- Check both leads
- Verify each test lead reaches the intended owner.
A hotfix restores the partner referral queue in the production version of a Salesforce Flow. A lower environment is already testing a separate direct-sales routing change to that same Flow. Back-promote the hotfix and verify both routes before the next story moves up the pipeline.
Make the back promotion small enough to review
In Copado’s Source Format Pipelines app, confirm the hotfix User Story and the environment where the fix is present. For a manual promotion, mark the intended story Ready to Promote, open Promotions, choose the source environment and select Is Back-Promotion. Add the hotfix story and review the lower destination configured for the pipeline. Keep unfinished feature stories outside this promotion.
Use the separate Merge Changes action when you want to inspect the promotion branch before deployment. Review a conflict in the Flow by branch behavior. In the example, the resolved Flow must keep the lower environment’s new direct-sales path and restore the production hotfix for partner referrals. Run validation against the lower sandbox before proceeding. A clean Git merge still needs a behavior check in that org.
Test both routes in the destination
| Sandbox test | Expected result | Evidence |
|---|---|---|
| Create a partner referral. | The Lead lands in the restored partner queue. | Save the sample Lead ID and assigned owner. |
| Create a direct-sales Lead with the new story’s criteria. | The separate lower-environment change still routes the Lead correctly. | Compare the active Flow version and the test Lead owner. |
| Review the next forward promotion. | The hotfix is already represented there, and unrelated work stays out. | Inspect selected stories and the new promotion diff before advancing. |
Record the source hotfix story, promotion result and destination test records. Use the automation architecture guide to trace any competing writers if the merged Flow saves the right owner and another automation changes it later.