function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
suji srinivasansuji srinivasan 

Hi,can we deploy from production org to demo org through changeset?

can anyone guide me?
Best Answer chosen by suji srinivasan
SwethaSwetha (Salesforce Developers) 
HI Suji,
You can only use changesets within connected orgs. 

Sending a change set between two orgs requires a deployment connection. Change sets can only be sent between orgs that are affiliated with a production org. For example, a production org and a sandbox, or two sandboxes created from the same org can send or receive change sets.

See limitations here: https://www.panaya.com/blog/salesforce/salesforce-change-sets/

More info: https://help.salesforce.com/s/articleView?id=sf.changesets.htm&type=5

For deployment between cross orgs you will need to use an metadata API ,IDE like VSCode , SFDX, ANT

If this information helps, please mark the answer as best. Thank you

 

All Answers

SwethaSwetha (Salesforce Developers) 
HI Suji,
You can only use changesets within connected orgs. 

Sending a change set between two orgs requires a deployment connection. Change sets can only be sent between orgs that are affiliated with a production org. For example, a production org and a sandbox, or two sandboxes created from the same org can send or receive change sets.

See limitations here: https://www.panaya.com/blog/salesforce/salesforce-change-sets/

More info: https://help.salesforce.com/s/articleView?id=sf.changesets.htm&type=5

For deployment between cross orgs you will need to use an metadata API ,IDE like VSCode , SFDX, ANT

If this information helps, please mark the answer as best. Thank you

 
This was selected as the best answer
mukesh guptamukesh gupta
Hi Suji,

For example,
The following figure illustrates one possible migration path for a production org (Prod) and two sandboxes (Dev and Test). In this example, the production org can only receive changes that have been fully tested, so only the Test sandbox is authorized to upload change sets to production. To synchronize development projects with the production org, the Prod org can send change sets to the Dev sandbox, but not to the Test sandbox. Finally, because the features in development need iterative testing, Dev and Test sandboxes should be able to send change sets back and forth.

http://​​​​​​​https://help.salesforce.com/s/articleView?id=sf.changesets_about_connection.htm&type=5 (http://https://help.salesforce.com/s/articleView?id=sf.changesets_about_connection.htm&type=5)

if you need any assistanse, Please let me know!!

Kindly mark my solution as the best answer if it helps you.

Thanks
Mukesh